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