aboutsummaryrefslogtreecommitdiff
path: root/docker/Dockerfile
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@awhk.org>2022-06-25 10:43:53 +0100
committerGrégoire Duchêne <gduchene@awhk.org>2022-06-25 10:43:53 +0100
commit85e60b26336e9aa36c234df6f2c19fe49042185f (patch)
tree28b100fd688ea6a5dd65707a064744c3c0c2c14e /docker/Dockerfile
parente47a7770f18283405b5fbfddc5c5490eca8080fb (diff)
Split the AWS version into its own module
This allows the rather large AWS Lambda SDK to only be fetched if the command itself is being fetched.
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r--docker/Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index cd1fe2a..07ae387 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -1,8 +1,8 @@
-FROM golang:1.17
+FROM golang:1.18
WORKDIR /root
COPY . ./
ENV CGO_ENABLED=0
-RUN go build -tags nosystemd
+RUN go build ./cmd/go-import-redirect
FROM scratch
COPY --from=0 /root/go-import-redirect /go-import-redirect