From cfb9a7b16fc0c161bbe184844fdf9676fae6dd1f Mon Sep 17 00:00:00 2001 From: jackstar12 <62219658+jackstar12@users.noreply.github.com> Date: Sat, 6 Sep 2025 04:20:49 +0200 Subject: [PATCH] fix: update docker certificates (#6909) * fix: install `ca-certificates` in dockerfile certificates will get outdated otherwise * chore: bump `dotnet/aspnet` base image to 8.0.18 --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 80f28afbb..4d97b2afd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,10 +21,10 @@ ARG CONFIGURATION_NAME=Release ARG GIT_COMMIT RUN cd BTCPayServer && dotnet publish -p:GitCommit=${GIT_COMMIT} --output /app/ --configuration ${CONFIGURATION_NAME} -FROM mcr.microsoft.com/dotnet/aspnet:8.0.11-bookworm-slim +FROM mcr.microsoft.com/dotnet/aspnet:8.0.18-bookworm-slim -RUN apt-get update && apt-get install -y --no-install-recommends iproute2 openssh-client \ - && rm -rf /var/lib/apt/lists/* +RUN apt-get update && apt-get install -y --no-install-recommends iproute2 openssh-client ca-certificates \ + && rm -rf /var/lib/apt/lists/* ENV LC_ALL en_US.UTF-8 ENV LANG en_US.UTF-8