forked from external-repos/ivatar-docker
Aktualisieren Dockerfile
This commit is contained in:
@@ -6,14 +6,11 @@ RUN apk add --no-cache --virtual build-deps build-base gcc python3-dev musl-dev
|
|||||||
apk add --no-cache py3-virtualenv openldap-dev libffi-dev mariadb-dev zlib-dev
|
apk add --no-cache py3-virtualenv openldap-dev libffi-dev mariadb-dev zlib-dev
|
||||||
# RUN echo 'INPUT ( libldap.so )' > /usr/lib/libldap_r.so
|
# RUN echo 'INPUT ( libldap.so )' > /usr/lib/libldap_r.so
|
||||||
|
|
||||||
RUN pip install --upgrade pip setuptools==57.5.0
|
|
||||||
RUN pip install 2to3 pillow
|
|
||||||
|
|
||||||
RUN git clone https://git.linux-kernel.at/oliver/ivatar.git .
|
RUN git clone https://git.linux-kernel.at/oliver/ivatar.git .
|
||||||
|
|
||||||
RUN virtualenv -p python3 .virtualenv && \
|
RUN virtualenv -p python3 .virtualenv && \
|
||||||
source .virtualenv/bin/activate && \
|
source .virtualenv/bin/activate && \
|
||||||
pip install pillow && \
|
pip install 2to3 pillow && \
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
|
||||||
RUN apk del build-deps && pip cache purge
|
RUN apk del build-deps && pip cache purge
|
||||||
|
|||||||
Reference in New Issue
Block a user