ДС
Size: a a a
ДС
f
FROM golang:1.11-alpine as builder
RUN \
cd / && \
apk update && \
apk add --no-cache git ca-certificates make tzdata && \
git clone https://github.com/inCaller/prometheus_bot && \
cd prometheus_bot && \
go get -d -v && \
CGO_ENABLED=0 GOOS=linux go build -v -a -installsuffix cgo -o prometheus_bot
FROM alpine:3.9
COPY --from=builder /prometheus_bot/prometheus_bot /
RUN apk add --no-cache ca-certificates tzdata tini
USER nobody
EXPOSE 9087
ENTRYPOINT ["/sbin/tini", "--"]
CMD ["/prometheus_bot"]
VS
ДС
A
G
f
f
ДУ
A
z
A
z
TF
z
TF
A
VS
A
E