Use alpine stable for docker
This commit is contained in:
parent
2f59abdda7
commit
acca011f15
|
@ -1,4 +1,4 @@
|
||||||
FROM alpine:edge AS builder
|
FROM alpine AS builder
|
||||||
|
|
||||||
COPY . /go/src/github.com/42wim/matterbridge
|
COPY . /go/src/github.com/42wim/matterbridge
|
||||||
RUN apk update && apk add go git gcc musl-dev \
|
RUN apk update && apk add go git gcc musl-dev \
|
||||||
|
@ -7,7 +7,7 @@ RUN apk update && apk add go git gcc musl-dev \
|
||||||
&& go get \
|
&& go get \
|
||||||
&& go build -x -ldflags "-X main.githash=$(git log --pretty=format:'%h' -n 1)" -o /bin/matterbridge
|
&& go build -x -ldflags "-X main.githash=$(git log --pretty=format:'%h' -n 1)" -o /bin/matterbridge
|
||||||
|
|
||||||
FROM alpine:edge
|
FROM alpine
|
||||||
RUN apk --no-cache add ca-certificates mailcap
|
RUN apk --no-cache add ca-certificates mailcap
|
||||||
COPY --from=builder /bin/matterbridge /bin/matterbridge
|
COPY --from=builder /bin/matterbridge /bin/matterbridge
|
||||||
RUN mkdir /etc/matterbridge \
|
RUN mkdir /etc/matterbridge \
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM alpine:edge AS builder
|
FROM alpine AS builder
|
||||||
|
|
||||||
COPY . /go/src/github.com/42wim/matterbridge
|
COPY . /go/src/github.com/42wim/matterbridge
|
||||||
RUN apk add \
|
RUN apk add \
|
||||||
|
@ -11,7 +11,7 @@ RUN apk add \
|
||||||
&& go get \
|
&& go get \
|
||||||
&& go build -x -ldflags "-X main.githash=$(git log --pretty=format:'%h' -n 1)" -o /bin/matterbridge
|
&& go build -x -ldflags "-X main.githash=$(git log --pretty=format:'%h' -n 1)" -o /bin/matterbridge
|
||||||
|
|
||||||
FROM alpine:edge
|
FROM alpine
|
||||||
RUN apk --no-cache add \
|
RUN apk --no-cache add \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
cairo \
|
cairo \
|
||||||
|
|
Loading…
Reference in New Issue