mirror of https://github.com/allinssl/allinssl
Update Dockerfile
parent
45fbd7dadf
commit
94d5c79416
|
@ -2,8 +2,7 @@ FROM frolvlad/alpine-glibc
|
||||||
|
|
||||||
WORKDIR /www/allinssl/
|
WORKDIR /www/allinssl/
|
||||||
|
|
||||||
RUN set -eux && sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/repositories \
|
RUN apk add --no-cache curl \
|
||||||
&& apk add --no-cache curl \
|
|
||||||
&& curl https://download.allinssl.com/bin/allinssl-$(uname -s)-$(uname -m).tar.gz | tar -xz -C /www/allinssl/ \
|
&& curl https://download.allinssl.com/bin/allinssl-$(uname -s)-$(uname -m).tar.gz | tar -xz -C /www/allinssl/ \
|
||||||
&& apk del curl
|
&& apk del curl
|
||||||
|
|
||||||
|
@ -22,4 +21,4 @@ EOF
|
||||||
RUN chmod +x /entrypoint.sh
|
RUN chmod +x /entrypoint.sh
|
||||||
ENTRYPOINT ["/entrypoint.sh"]
|
ENTRYPOINT ["/entrypoint.sh"]
|
||||||
|
|
||||||
EXPOSE 8888
|
EXPOSE 8888
|
||||||
|
|
Loading…
Reference in New Issue