You've already forked Mailu
mirror of
https://github.com/Mailu/Mailu.git
synced 2025-08-10 22:31:47 +02:00
install python for setup image, accept args for build_arm script
This commit is contained in:
@@ -1,11 +1,12 @@
|
|||||||
FROM python:3-alpine
|
ARG DISTRO=alpine:3.8
|
||||||
|
FROM $DISTRO
|
||||||
|
|
||||||
RUN mkdir -p /app
|
RUN mkdir -p /app
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY requirements.txt requirements.txt
|
COPY requirements.txt requirements.txt
|
||||||
RUN apk add --no-cache curl \
|
RUN apk add --no-cache curl python3 py3-pip
|
||||||
&& pip install -r requirements.txt
|
RUN pip3 install -r requirements.txt
|
||||||
|
|
||||||
COPY server.py ./server.py
|
COPY server.py ./server.py
|
||||||
COPY main.py ./main.py
|
COPY main.py ./main.py
|
||||||
|
@@ -6,4 +6,4 @@ QEMU="$(which qemu-arm-static)"
|
|||||||
cp $QEMU ../webmails/rainloop/
|
cp $QEMU ../webmails/rainloop/
|
||||||
cp $QEMU ../webmails/roundcube/
|
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
|
||||||
|
Reference in New Issue
Block a user