aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@awhk.org>2024-10-20 13:07:20 +0100
committerGrégoire Duchêne <gduchene@awhk.org>2024-10-20 13:07:20 +0100
commit676b07a06ae92c4aec077493d825be90ff8cf1af (patch)
tree4f1069cb2bbc244cdc9568f8fe947c1e76879c44
parentfa542e07dc9d8e414caa6e1972da8750dfe5c046 (diff)
Use golang:1.23 to build container image
-rw-r--r--docker/Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index fb5062d..41cf920 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -1,10 +1,11 @@
# SPDX-FileCopyrightText: © 2020 Grégoire Duchêne <gduchene@awhk.org>
# SPDX-License-Identifier: ISC
-FROM golang:1.16
+FROM golang:1.23
WORKDIR /root
COPY . ./
ENV CGO_ENABLED=0
+RUN go test
RUN go build
FROM scratch