1
0
mirror of https://github.com/mgerb/ServerStatus synced 2026-01-09 18:52:50 +00:00

update docker files

closes #27
This commit is contained in:
2020-06-13 12:52:52 -05:00
parent 18b1a0b6e3
commit 2fdc0eddd3
2 changed files with 3 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
FROM golang:1.11.1-alpine
FROM golang:1.14.4-alpine3.12
WORKDIR /go/src/github.com/mgerb/ServerStatus
ADD . .
@@ -8,10 +8,9 @@ RUN dep ensure
RUN make linux
FROM alpine:3.8
FROM alpine:3.12
RUN apk update && apk add ca-certificates && rm -rf /var/cache/apk/*
WORKDIR /server-status
COPY --from=0 /go/src/github.com/mgerb/ServerStatus/dist/ServerStatus-linux .
ENTRYPOINT ./ServerStatus-linux

View File

@@ -1,4 +1,4 @@
version: "2"
version: "3"
services:
server-status: