1
0
mirror of https://github.com/amir20/dozzle.git synced 2026-01-02 11:07:26 +01:00

Updates goreleaser to alpine and uses 1.13

This commit is contained in:
Amir Raminfar
2019-09-08 14:00:47 -07:00
parent 93faeaaedc
commit d8b82c8200

View File

@@ -1,7 +1,10 @@
FROM goreleaser/goreleaser:latest
FROM golang:1.13-alpine
RUN go get -u github.com/gobuffalo/packr/packr
RUN apk --no-cache add nodejs-current nodejs-npm && npm i -g npm
RUN apk --no-cache add git nodejs-current nodejs-npm && npm i -g npm && \
wget https://github.com/goreleaser/goreleaser/releases/latest/download/goreleaser_Linux_arm64.tar.gz && \
tar -xvzf goreleaser_Linux_arm64.tar.gz -C /usr/local/bin && \
rm *.gz && \
go get -u github.com/gobuffalo/packr/packr
COPY entrypoint.sh /entrypoint.sh