1
0
mirror of https://github.com/harness/drone.git synced 2022-03-12 19:30:52 +03:00

Update alpine base image to v3.11

Per discussion here:
https://discourse.drone.io/t/alpine-3-9-includes-musl-version-vulnerable-to-cve-2019-14697/6679
This commit is contained in:
Peter Fern
2020-01-26 16:31:47 +11:00
parent 2f77337fd6
commit d4281f293b
7 changed files with 14 additions and 14 deletions

View File

@@ -1,7 +1,7 @@
FROM alpine:3.9 as alpine
FROM alpine:3.11 as alpine
RUN apk add -U --no-cache ca-certificates
FROM alpine:3.9
FROM alpine:3.11
ENV GODEBUG netdns=go
ENV DRONE_RUNNER_OS=linux
ENV DRONE_RUNNER_ARCH=amd64

View File

@@ -1,7 +1,7 @@
FROM alpine:3.9 as alpine
FROM alpine:3.11 as alpine
RUN apk add -U --no-cache ca-certificates
FROM alpine:3.9
FROM alpine:3.11
ENV GODEBUG netdns=go
ENV DRONE_RUNNER_OS=linux
ENV DRONE_RUNNER_ARCH=amd64

View File

@@ -1,7 +1,7 @@
FROM alpine:3.9 as alpine
FROM alpine:3.11 as alpine
RUN apk add -U --no-cache ca-certificates
FROM alpine:3.9
FROM alpine:3.11
ENV GODEBUG=netdns=go
ENV DRONE_RUNNER_OS=linux
ENV DRONE_RUNNER_ARCH=arm

View File

@@ -1,7 +1,7 @@
FROM alpine:3.9 as alpine
FROM alpine:3.11 as alpine
RUN apk add -U --no-cache ca-certificates
FROM alpine:3.9
FROM alpine:3.11
ENV GODEBUG=netdns=go
ENV DRONE_RUNNER_OS=linux
ENV DRONE_RUNNER_ARCH=arm64

View File

@@ -1,9 +1,9 @@
# docker build --rm -f docker/Dockerfile -t drone/drone .
FROM alpine:3.9 as alpine
FROM alpine:3.11 as alpine
RUN apk add -U --no-cache ca-certificates
FROM alpine:3.9
FROM alpine:3.11
EXPOSE 80 443
VOLUME /data

View File

@@ -1,9 +1,9 @@
# docker build --rm -f docker/Dockerfile -t drone/drone .
FROM alpine:3.9 as alpine
FROM alpine:3.11 as alpine
RUN apk add -U --no-cache ca-certificates
FROM alpine:3.9
FROM alpine:3.11
EXPOSE 80 443
VOLUME /data

View File

@@ -1,9 +1,9 @@
# docker build --rm -f docker/Dockerfile -t drone/drone .
FROM alpine:3.9 as alpine
FROM alpine:3.11 as alpine
RUN apk add -U --no-cache ca-certificates
FROM alpine:3.9
FROM alpine:3.11
EXPOSE 80 443
VOLUME /data