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