This commit is contained in:
kolaente 2021-05-15 13:53:16 +02:00
commit 30742983e6
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
3 changed files with 17 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
.idea/
reactorrrrrrrr

12
Dockerfile Normal file
View File

@ -0,0 +1,12 @@
FROM golang:alpine AS build-env
WORKDIR ${GOPATH}/src/kolaente.dev/konrad/reactorrrrrrrr
COPY . .
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o /go/bin/reactorrrrrrrr
# The actual image
FROM scratch
COPY --from=build-env /go/bin/reactorrrrrrrr /reactorrrrrrrr
COPY --from=alpine:latest /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
ENTRYPOINT ["/reactorrrrrrrr"]

3
go.mod Normal file
View File

@ -0,0 +1,3 @@
module kolaente.dev/konrad/discord-kaenguru
go 1.16