update alpine base image to 3.14

This commit is contained in:
Willy Kloucek
2021-03-24 13:41:42 +01:00
parent dbe2a2a61e
commit 4c769e0d33
4 changed files with 5 additions and 12 deletions

View File

@@ -1,19 +1,12 @@
FROM golang:1.16-alpine as build
FROM owncloudci/golang:1.16 as build
COPY ./ /ocis/
ENV CGO_ENABLED=0
ENV GOOS=linux
RUN apk update && \
apk upgrade --ignore musl-dev && \
apk add make gcc bash && \
rm -rf /var/cache/apk/*
WORKDIR /ocis/ocis
RUN make clean generate build
FROM alpine:3
FROM alpine:3.14
RUN apk update && \
apk upgrade && \