From 3089fdbfbf4ca13e96dcefa1c5603bc88b236c6d Mon Sep 17 00:00:00 2001 From: Joeri Voet <2750496+jwavoet@users.noreply.github.com> Date: Wed, 12 Nov 2025 14:20:40 +0100 Subject: [PATCH] Update alpine Add hadolint config --- .hadolint.yaml | 5 +++++ Dockerfile | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .hadolint.yaml 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