upgrade to go1.12.9 & alpine3.10

Signed-off-by: William Zhang <zhang.wanmin@zte.com.cn>
This commit is contained in:
William Zhang 2019-08-14 11:05:28 +08:00
parent c849525a27
commit 635e1295c2
3 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
FROM golang:1.12.1-alpine3.9
FROM golang:1.12.9-alpine3.10
RUN apk -U --no-cache add bash git gcc musl-dev docker vim less file curl wget ca-certificates jq linux-headers zlib-dev tar zip squashfs-tools npm coreutils \
python3 py3-pip python3-dev openssl-dev libffi-dev libseccomp libseccomp-dev make

View File

@ -1,4 +1,4 @@
FROM golang:1.12.1-alpine3.9
FROM golang:1.12.9-alpine3.10
RUN apk -U --no-cache add bash git docker curl jq coreutils
RUN go get -d github.com/heptio/sonobuoy && \

View File

@ -1,4 +1,4 @@
FROM alpine:3.9 as base
FROM alpine:3.10 as base
RUN apk add -U ca-certificates
ADD build/out/data.tar.gz /image
RUN mkdir -p /image/etc/ssl/certs /image/run /image/var/run /image/tmp /image/lib/modules /image/lib/firmware && \
@ -10,7 +10,7 @@ RUN cd image/bin && \
FROM scratch
COPY --from=base /image /
RUN chmod 1777 /tmp
VOLUME /var/lib/rancher/k3s
VOLUME /var/lib/rancher/k3s
VOLUME /var/lib/cni
VOLUME /var/log
ENV PATH="$PATH:/bin/aux"