autoconf - multi arch Dockerfile

This commit is contained in:
bunkerity
2020-12-09 17:36:39 +01:00
parent 92569679b6
commit b86ded3d1c
8 changed files with 84 additions and 117 deletions

15
autoconf/Dockerfile-amd64 Normal file
View File

@@ -0,0 +1,15 @@
FROM amd64/alpine
RUN apk add py3-pip apache2-utils bash && \
pip3 install docker && \
mkdir /opt/entrypoint && \
mkdir -p /opt/confs/site
COPY confs/site/ /opt/confs/site
COPY entrypoint/* /opt/entrypoint/
COPY autoconf/* /opt/entrypoint/
RUN chmod +x /opt/entrypoint/*.py /opt/entrypoint/*.sh
VOLUME /etc/nginx
ENTRYPOINT ["/opt/entrypoint/entrypoint.py"]