Update Go version to 1.24.1 to satisfy dependency requirements

This commit is contained in:
Andreas Düren 2025-03-14 23:37:34 +01:00
parent aaf0dc0ca3
commit 5f1cf21ebb

View File

@ -83,8 +83,8 @@ RUN apt-get update && \
apt-get clean && apt-get autoremove && \
rm -rf /var/cache/apt /var/lib/apt/lists
# Install Go 1.22.2
RUN curl -L https://go.dev/dl/go1.22.2.linux-amd64.tar.gz -o go.tar.gz && \
# Install Go 1.24.1
RUN curl -L https://go.dev/dl/go1.24.1.linux-amd64.tar.gz -o go.tar.gz && \
rm -rf /usr/local/go && \
tar -C /usr/local -xzf go.tar.gz && \
rm go.tar.gz && \
@ -98,7 +98,7 @@ WORKDIR /app/code
# Clone the ente repository during build (for the Museum server)
RUN git clone --depth=1 https://github.com/ente-io/ente.git . && \
sed -i 's/go 1.23/go 1.22.2/' server/go.mod
sed -i 's/go 1.23/go 1.24.1/' server/go.mod
# Set Go environment variables
ENV GOTOOLCHAIN=local