From 506142e263d0e7bfc22e7ec60f6dbc4e05b85613 Mon Sep 17 00:00:00 2001 From: arturrez <56270896+arturrez@users.noreply.github.com> Date: Fri, 13 Dec 2024 13:04:07 -0800 Subject: [PATCH] update docker images (#2445) * update docker images * go 1.22.10 * 12-slim --- Dockerfile | 4 ++-- Dockerfile.release | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9c0138559..d38cb693c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # ============= Compilation Stage ================ -FROM golang:1.22.8-bullseye AS builder +FROM golang:1.22.10-bookworm AS builder WORKDIR /build # Copy and download avalanche dependencies using go mod @@ -12,7 +12,7 @@ COPY . . RUN ./scripts/build.sh # ============= Cleanup Stage ================ -FROM debian:11-slim +FROM debian:12-slim WORKDIR / # Copy the executables into the container diff --git a/Dockerfile.release b/Dockerfile.release index 509665106..18c5a1428 100644 --- a/Dockerfile.release +++ b/Dockerfile.release @@ -1,4 +1,4 @@ -FROM debian:11-slim +FROM debian:12-slim RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/* COPY avalanche / RUN /avalanche config update disable