mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
upgrade to go1.12.9 & alpine3.10
Signed-off-by: William Zhang <zhang.wanmin@zte.com.cn>
This commit is contained in:
parent
c849525a27
commit
635e1295c2
@ -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
|
||||
|
@ -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 && \
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user