Update Dockerfile
script for M1
This commit is contained in:
parent
05536fb6a1
commit
db1b30ecf2
@ -29,4 +29,13 @@ ENTRYPOINT ["/opt/docker/bin/entrypoint.sh"]
|
||||
|
||||
CMD ["/bin/bash", "/opt/startup.sh"]
|
||||
|
||||
EXPOSE 80 443
|
||||
EXPOSE 80 443
|
||||
|
||||
ARG APACHE_FOR_MAC_M1=false
|
||||
|
||||
RUN if [ ${APACHE_FOR_MAC_M1} = true ]; then \
|
||||
# Change application source from deb.debian.org to aliyun source
|
||||
wget -O "/usr/local/bin/go-replace" "https://github.com/webdevops/goreplace/releases/download/1.1.2/gr-arm64-linux" && \
|
||||
chmod +x "/usr/local/bin/go-replace" && \
|
||||
"/usr/local/bin/go-replace" --version \
|
||||
;fi
|
||||
|
Loading…
Reference in New Issue
Block a user