diff --git a/Dockerfile b/Dockerfile index a5a52c4..9dddb3d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,8 @@ WORKDIR /pkg RUN apk add --no-cache python3 python3-dev py3-pip libmagic nginx build-base gcc libffi-dev openssl-dev rust cargo zlib-dev jpeg-dev nginx postfix git \ && pip3 install --upgrade pip \ && pip3 install uwsgi poetry \ - && pip3 install --find-links=/pkg mitama + && pip3 install --find-links=/pkg mitama \ + && apk del --purge rust cargo zlib-dev libffi-dev gcc build-base python3-dev RUN mkdir /conf RUN mkdir /log RUN mkdir /project diff --git a/Dockerfile.mysql b/Dockerfile.mysql index e9228a0..a182d10 100644 --- a/Dockerfile.mysql +++ b/Dockerfile.mysql @@ -5,7 +5,8 @@ WORKDIR /pkg RUN apk add --no-cache python3 python3-dev py3-pip libmagic nginx build-base gcc libffi-dev openssl-dev rust cargo zlib-dev jpeg-dev nginx postfix mariadb-dev mariadb-connector-c-dev git \ && pip3 install --upgrade pip \ && pip3 install uwsgi poetry mysqlclient \ - && pip3 install --find-links=/pkg mitama + && pip3 install --find-links=/pkg mitama \ + && apk del --purge rust cargo zlib-dev libffi-dev gcc build-base python3-dev RUN mkdir /conf RUN mkdir /log RUN mkdir /project diff --git a/Dockerfile.postgresql b/Dockerfile.postgresql index b126bc7..204c02b 100644 --- a/Dockerfile.postgresql +++ b/Dockerfile.postgresql @@ -5,7 +5,8 @@ WORKDIR /pkg RUN apk add --no-cache python3 python3-dev py3-pip libmagic nginx build-base gcc libffi-dev openssl-dev rust cargo zlib-dev jpeg-dev nginx postfix postgresql-dev postgresql-libs \ && pip3 install --upgrade pip \ && pip3 install uwsgi poetry psycopg2 \ - && pip3 install --find-links=/pkg mitama + && pip3 install --find-links=/pkg mitama \ + && apk del --purge rust cargo zlib-dev libffi-dev gcc build-base python3-dev RUN mkdir /conf RUN mkdir /log RUN mkdir /project