mirror of
https://github.com/Mailu/Mailu.git
synced 2025-02-21 19:19:39 +02:00
install python for setup image, accept args for build_arm script
This commit is contained in:
parent
a053f90875
commit
3a10865824
@ -1,11 +1,12 @@
|
||||
FROM python:3-alpine
|
||||
ARG DISTRO=alpine:3.8
|
||||
FROM $DISTRO
|
||||
|
||||
RUN mkdir -p /app
|
||||
WORKDIR /app
|
||||
|
||||
COPY requirements.txt requirements.txt
|
||||
RUN apk add --no-cache curl \
|
||||
&& pip install -r requirements.txt
|
||||
RUN apk add --no-cache curl python3 py3-pip
|
||||
RUN pip3 install -r requirements.txt
|
||||
|
||||
COPY server.py ./server.py
|
||||
COPY main.py ./main.py
|
||||
|
@ -6,4 +6,4 @@ QEMU="$(which qemu-arm-static)"
|
||||
cp $QEMU ../webmails/rainloop/
|
||||
cp $QEMU ../webmails/roundcube/
|
||||
|
||||
docker-compose -f build.yml build --build-arg DISTRO=$DISTRO --build-arg PHP_DISTRO=$PHP # --parallel
|
||||
docker-compose -f build.yml build --build-arg DISTRO=$DISTRO --build-arg PHP_DISTRO=$PHP $@ # --parallel
|
||||
|
Loading…
x
Reference in New Issue
Block a user