diff --git a/Dockerfile b/Dockerfile index 927dc7ab1..83020afc6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,7 @@ FROM golang:1.14 as builder WORKDIR /maschine-controller/src ADD . . +RUN CGO_ENABLED=0 go build -o hcloud-maschine-controller.bin . FROM alpine:3.11 RUN apk add --no-cache ca-certificates bash