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:
parent
4974d7f6ad
commit
79cca18929
10
Dockerfile
10
Dockerfile
@ -1,11 +1,15 @@
|
|||||||
FROM golang:1.12-alpine as builder
|
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
|
RUN go get -v github.com/jteeuwen/go-bindata/go-bindata
|
||||||
WORKDIR /go/cowyo
|
WORKDIR /go/cowyo
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN apk add gcc
|
|
||||||
RUN apk add musl-dev
|
|
||||||
RUN make build
|
RUN make build
|
||||||
|
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
|
Loading…
Reference in New Issue
Block a user