rebuild glutton for alpine 3.13, update to latest master

This commit is contained in:
t3chn0m4g3 2021-02-18 11:12:21 +00:00
parent d4519892f6
commit 3d123f35a4

View file

@ -1,11 +1,10 @@
FROM alpine:3.12 FROM alpine:3.13
# #
# Include dist # Include dist
ADD dist/ /root/dist/ ADD dist/ /root/dist/
# #
# Setup apk # Setup apk
RUN sed -i 's/dl-cdn/dl-2/g' /etc/apk/repositories && \ RUN apk -U --no-cache add \
apk -U --no-cache add \
build-base \ build-base \
git \ git \
go \ go \
@ -22,7 +21,7 @@ RUN sed -i 's/dl-cdn/dl-2/g' /etc/apk/repositories && \
cd /opt/go/ && \ cd /opt/go/ && \
git clone https://github.com/mushorg/glutton && \ git clone https://github.com/mushorg/glutton && \
cd /opt/go/glutton/ && \ cd /opt/go/glutton/ && \
git checkout 08f364fff489a82667866ecff2bcc4815569a0c8 && \ git checkout c25045b95b43ed9bfee89b2d14a50f5794a9cf2b && \
mv /root/dist/system.go /opt/go/glutton/ && \ mv /root/dist/system.go /opt/go/glutton/ && \
go mod download && \ go mod download && \
make build && \ make build && \