From 79cca18929018e4d8cd51f92f0dc5d8c60889e90 Mon Sep 17 00:00:00 2001 From: Dolorosus Date: Thu, 8 Dec 2022 21:22:55 +0100 Subject: [PATCH] Upgrade alpine Linux --- Dockerfile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 64c01b8..464e4c9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,15 @@ FROM golang:1.12-alpine as builder -RUN apk add --no-cache git make + +RUN apk --no-cache update \ +&& apk --no-cache upgrade \ +&& apk add --no-cache gcc \ +&& apk add --no-cache musl-dev \ +&& apk add --no-cache git make + RUN go get -v github.com/jteeuwen/go-bindata/go-bindata WORKDIR /go/cowyo COPY . . -RUN apk add gcc -RUN apk add musl-dev RUN make build FROM alpine:latest