From 0671f3c6478c43efc998e43b1e3964caea3f1310 Mon Sep 17 00:00:00 2001 From: Victor Date: Wed, 18 Aug 2021 22:41:56 +0100 Subject: [PATCH] ci: add Docker image --- Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..8e85547 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,7 @@ +FROM golang:1.17.0-alpine AS builder + +WORKDIR /src +COPY . . + +RUN go mod download && \ + CGO_ENABLED=0 go build -ldflags="-s -w" -o "ios-signer-builder"