aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorNiall Sheridan <nsheridan@gmail.com>2019-07-07 20:44:04 +0100
committerNiall Sheridan <nsheridan@gmail.com>2019-07-07 23:59:29 +0100
commit5ed427a4a073a1fce8f36e666daa514c16c0b544 (patch)
tree4ff87c5d120774dbd88caebaf35b0acd2e68d5d2 /Dockerfile
parent8c12c6939aab9106db14ec2d11d983bc5b29fb2c (diff)
Statically link cashierd with C libs
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 33f1b34..b9ab104 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -5,7 +5,7 @@ COPY go.mod .
COPY go.sum .
RUN go mod download
COPY . .
-RUN CGO_ENABLED=0 GOOS=linux make install-cashierd
+RUN CGO_ENABLED=1 GOOS=linux make install-cashierd
FROM gcr.io/distroless/static
LABEL maintainer="nsheridan@gmail.com"