From 632dcbc4e32bcfef18debbe137ba18d6b33ceda6 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Sun, 10 Sep 2017 22:31:10 +0800 Subject: [PATCH] update base image. Signed-off-by: Bo-Yi Wu --- Dockerfile | 9 +-------- Dockerfile.arm | 9 +-------- Dockerfile.arm64 | 9 +-------- 3 files changed, 3 insertions(+), 24 deletions(-) diff --git a/Dockerfile b/Dockerfile index 799fb85..e9c125d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,6 @@ -FROM alpine:3.6 as alpine -RUN apk add -U --no-cache ca-certificates - -FROM scratch +FROM plugins/base:multiarch MAINTAINER Bo-Yi Wi -ENV GODEBUG=netdns=go - -COPY --from=alpine /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ - LABEL org.label-schema.version=latest LABEL org.label-schema.vcs-url="https://github.com/appleboy/gorush.git" LABEL org.label-schema.name="Gorush" diff --git a/Dockerfile.arm b/Dockerfile.arm index 894e78b..b0f0b18 100644 --- a/Dockerfile.arm +++ b/Dockerfile.arm @@ -1,13 +1,6 @@ -FROM alpine:3.6 as alpine -RUN apk add -U --no-cache ca-certificates - -FROM scratch +FROM plugins/base:multiarch MAINTAINER Bo-Yi Wi -ENV GODEBUG=netdns=go - -COPY --from=alpine /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ - LABEL org.label-schema.version=latest LABEL org.label-schema.vcs-url="https://github.com/appleboy/gorush.git" LABEL org.label-schema.name="Gorush" diff --git a/Dockerfile.arm64 b/Dockerfile.arm64 index 8157b6a..673946e 100644 --- a/Dockerfile.arm64 +++ b/Dockerfile.arm64 @@ -1,13 +1,6 @@ -FROM alpine:3.6 as alpine -RUN apk add -U --no-cache ca-certificates - -FROM scratch +FROM plugins/base:multiarch MAINTAINER Bo-Yi Wi -ENV GODEBUG=netdns=go - -COPY --from=alpine /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ - LABEL org.label-schema.version=latest LABEL org.label-schema.vcs-url="https://github.com/appleboy/gorush.git" LABEL org.label-schema.name="Gorush"