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.
This commit is contained in:
parent
34221938cc
commit
8d69e2f0b8
@ -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"]
|
||||
ENTRYPOINT ["/usr/bin/dendrite-monolith-server"]
|
||||
|
@ -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"]
|
||||
ENTRYPOINT ["/usr/bin/dendrite-polylith-multi"]
|
||||
|
Loading…
Reference in New Issue
Block a user