From fb909ba59265be573b59b22708e0c601df0d677e Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Tue, 5 Jan 2021 12:14:35 +0100 Subject: [PATCH] Remove Dockerfile --- Dockerfile | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 489d6d9..0000000 --- a/Dockerfile +++ /dev/null @@ -1,22 +0,0 @@ -FROM golang:alpine as builder - -WORKDIR /go/src/git.sbruder.de/simon/bangs/evaluator/ - -COPY evaluator/evaluator.go . - -RUN apk add --no-cache git upx - -RUN go get -v \ - && CGO_ENABLED=0 go build -v -ldflags="-s -w" \ - && upx --ultra-brute evaluator - -FROM scratch - -COPY --from=builder /go/src/git.sbruder.de/simon/bangs/evaluator/evaluator /evaluator -COPY bangs.yml /bangs.yml - -USER 1000 - -ENTRYPOINT ["/evaluator"] - -EXPOSE 8081