From 6be590cf782f8a8ee2791b72f50ba04bd905ed10 Mon Sep 17 00:00:00 2001 From: s3lph Date: Tue, 28 Sep 2021 00:30:42 +0200 Subject: [PATCH] Fix CI script --- package/docker/Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package/docker/Dockerfile b/package/docker/Dockerfile index 9eb3e88..b2ed6a7 100644 --- a/package/docker/Dockerfile +++ b/package/docker/Dockerfile @@ -2,13 +2,15 @@ FROM python:3.9-alpine ADD . / -RUN mkdir -p /var/lib/easywks \ +RUN apk --update add build-base libffi libffi-dev \ + && mkdir -p /var/lib/easywks \ && chown 1000:0 -R /var/lib/easywks \ && chmod 0700 /var/lib/easywks \ && pip3 install -e . \ && mv /package/docker/entrypoint.sh /entrypoint.sh \ && mv /package/docker/easywks.yml /etc/easywks.yml \ - && rm -rf /package + && rm -rf /package \ + && apk del build-base libffi-dev USER 1000