1
0
mirror of https://github.com/schollz/cowyo.git synced 2023-08-10 21:13:00 +03:00

Upgrade alpine Linux

This commit is contained in:
Dolorosus 2022-12-08 21:22:55 +01:00 committed by GitHub
parent 4974d7f6ad
commit 79cca18929
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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