Bump go in docker images further

This commit is contained in:
Till Faelligen 2025-05-17 20:45:45 +02:00
parent 86358e1af6
commit f1bfec876f
No known key found for this signature in database
GPG key ID: 3DF82D8AB9211D4E
5 changed files with 6 additions and 6 deletions

View file

@ -3,7 +3,7 @@
#
# base installs required dependencies and runs go mod download to cache dependencies
#
FROM --platform=${BUILDPLATFORM} docker.io/golang:1.22-alpine AS base
FROM --platform=${BUILDPLATFORM} docker.io/golang:1.24-alpine AS base
RUN apk --update --no-cache add bash build-base curl git
#

View file

@ -1,6 +1,6 @@
#syntax=docker/dockerfile:1.2
FROM golang:1.23-bookworm as build
FROM golang:1.24-bookworm as build
RUN apt-get update && apt-get install -y sqlite3
WORKDIR /build

View file

@ -8,7 +8,7 @@
#
# Use these mounts to make use of this dockerfile:
# COMPLEMENT_HOST_MOUNTS='/your/local/dendrite:/dendrite:ro;/your/go/path:/go:ro'
FROM golang:1.23-bookworm
FROM golang:1.24-bookworm
RUN apt-get update && apt-get install -y sqlite3
ENV SERVER_NAME=localhost

View file

@ -1,6 +1,6 @@
#syntax=docker/dockerfile:1.2
FROM golang:1.23-bookworm as build
FROM golang:1.24-bookworm as build
RUN apt-get update && apt-get install -y postgresql
WORKDIR /build

View file

@ -55,7 +55,7 @@ var latest, _ = semver.NewVersion("v6.6.6") // Dummy version, used as "HEAD"
// due to the error:
// When using COPY with more than one source file, the destination must be a directory and end with a /
// We need to run a postgres anyway, so use the dockerfile associated with Complement instead.
const DockerfilePostgreSQL = `FROM golang:1.23-bookworm as build
const DockerfilePostgreSQL = `FROM golang:1.24-bookworm as build
RUN apt-get update && apt-get install -y postgresql
WORKDIR /build
ARG BINARY
@ -99,7 +99,7 @@ ENV BINARY=dendrite
EXPOSE 8008 8448
CMD /build/run_dendrite.sh`
const DockerfileSQLite = `FROM golang:1.23-bookworm as build
const DockerfileSQLite = `FROM golang:1.24-bookworm as build
RUN apt-get update && apt-get install -y postgresql
WORKDIR /build
ARG BINARY