diff --git a/.hadolint.yaml b/.hadolint.yaml new file mode 100644 index 0000000..a096157 --- /dev/null +++ b/.hadolint.yaml @@ -0,0 +1,5 @@ +# These errors are ignored as fixing them might cause endesired behaviour when creating the image. +ignored: + - DL3013 + - DL3018 + \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index a1d5a95..45f7bb1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.22.1 +FROM alpine:3.22.2 # This hack is widely applied to avoid python printing issues in docker containers. # See: https://github.com/Docker-Hub-frolvlad/docker-alpine-python3/pull/13 @@ -13,4 +13,4 @@ RUN echo "**** install Python ****" && \ python -m ensurepip && \ rm -r /usr/lib/python*/ensurepip && \ if [ ! -e /usr/bin/pip ]; then ln -s pip3 /usr/bin/pip ; fi && \ - pip install --no-cache --upgrade pip setuptools wheel + pip install --no-cache-dir --upgrade pip setuptools wheel