bugfix: fix build image error.
This commit is contained in:
@@ -1,9 +1,10 @@
|
|||||||
FROM alpine:edge
|
FROM alpine
|
||||||
RUN set -eux && sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories
|
RUN set -eux && sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/repositories
|
||||||
LABEL maintainer="TSG"
|
LABEL maintainer="TSG"
|
||||||
ADD webproc_linux_amd64.gz /tmp/
|
ADD webproc_linux_amd64.gz /tmp/
|
||||||
# fetch dnsmasq and webproc binary
|
# fetch dnsmasq and webproc binary
|
||||||
RUN apk update \
|
RUN apk update \
|
||||||
|
&& apk upgrade alpine-keys \
|
||||||
&& apk --no-cache add dnsmasq \
|
&& apk --no-cache add dnsmasq \
|
||||||
&& apk add --no-cache --virtual .build-deps curl \
|
&& apk add --no-cache --virtual .build-deps curl \
|
||||||
&& gzip -cd /tmp/webproc_linux_amd64.gz > /usr/local/bin/webproc \
|
&& gzip -cd /tmp/webproc_linux_amd64.gz > /usr/local/bin/webproc \
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ RUN sed -i s@/archive.ubuntu.com/@/mirrors.163.com/@g /etc/apt/sources.list \
|
|||||||
iputils-ping \
|
iputils-ping \
|
||||||
faketime \
|
faketime \
|
||||||
&& gem update --system 3.1.6 \
|
&& gem update --system 3.1.6 \
|
||||||
&& gem install jekyll
|
&& gem install jekyll --version 4.2.2
|
||||||
|
|
||||||
# Install badssl.com
|
# Install badssl.com
|
||||||
ADD . badssl.com
|
ADD . badssl.com
|
||||||
|
|||||||
Reference in New Issue
Block a user