aboutsummaryrefslogtreecommitdiff
path: root/build/docker
diff options
context:
space:
mode:
author0x1a8510f2 <admin@0x1a8510f2.space>2022-04-27 20:19:46 +0100
committerGitHub <noreply@github.com>2022-04-27 20:19:46 +0100
commit8d69e2f0b897dd1ecd99c7bd348ad8bfc8999c4e (patch)
tree54029a3ea28b83aabe27afcb328f2991d678d451 /build/docker
parent34221938ccb1f3a885ac9e5a36b79d3d74850d38 (diff)
Use Go 1.18 to build Docker images (#2391)
Go 1.18 has now been released for a while and the CI already tests Dendrite with Go 1.18 so there should be no issues. Go 1.18 brings some performance improvements for ARM via the register calling convention so it makes sense to switch to it.
Diffstat (limited to 'build/docker')
-rw-r--r--build/docker/Dockerfile.monolith4
-rw-r--r--build/docker/Dockerfile.polylith4
2 files changed, 4 insertions, 4 deletions
diff --git a/build/docker/Dockerfile.monolith b/build/docker/Dockerfile.monolith
index 0d2a141a..891a3a9e 100644
--- a/build/docker/Dockerfile.monolith
+++ b/build/docker/Dockerfile.monolith
@@ -1,4 +1,4 @@
-FROM docker.io/golang:1.17-alpine AS base
+FROM docker.io/golang:1.18-alpine AS base
RUN apk --update --no-cache add bash build-base
@@ -23,4 +23,4 @@ COPY --from=base /build/bin/* /usr/bin/
VOLUME /etc/dendrite
WORKDIR /etc/dendrite
-ENTRYPOINT ["/usr/bin/dendrite-monolith-server"] \ No newline at end of file
+ENTRYPOINT ["/usr/bin/dendrite-monolith-server"]
diff --git a/build/docker/Dockerfile.polylith b/build/docker/Dockerfile.polylith
index c266fd48..ffdc3558 100644
--- a/build/docker/Dockerfile.polylith
+++ b/build/docker/Dockerfile.polylith
@@ -1,4 +1,4 @@
-FROM docker.io/golang:1.17-alpine AS base
+FROM docker.io/golang:1.18-alpine AS base
RUN apk --update --no-cache add bash build-base
@@ -23,4 +23,4 @@ COPY --from=base /build/bin/* /usr/bin/
VOLUME /etc/dendrite
WORKDIR /etc/dendrite
-ENTRYPOINT ["/usr/bin/dendrite-polylith-multi"] \ No newline at end of file
+ENTRYPOINT ["/usr/bin/dendrite-polylith-multi"]