From 329711b3f986613b1332950f0f43cb62fe5e6232 Mon Sep 17 00:00:00 2001 From: Joao Gilberto Magalhaes Date: Sun, 24 Aug 2025 18:11:42 -0400 Subject: [PATCH] Update Dockerfile. --- build/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build/Dockerfile b/build/Dockerfile index 9c03c36..a33fca9 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -6,6 +6,7 @@ ENV RELEASE_VERSION=$RELEASE_VERSION_ARG ENV TZ="Etc/UTC" RUN apk add --no-cache haproxy bash python3 py3-pip py-yaml certbot openssl \ + && apk add --no-cache --virtual .build-deps build-base python3-dev musl-dev linux-headers \ && pip3 install --upgrade pip --break-system-packages RUN openssl dhparam -out /etc/haproxy/dhparam 2048 \ @@ -19,6 +20,8 @@ COPY src/ /scripts/ RUN pip install -r requirements.txt --break-system-packages +RUN apk del .build-deps + RUN pytest -s -vv tests/ CMD ["/usr/bin/python", "-u", "/scripts/main.py" ]