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
This commit is contained in:
jackstar12
2025-09-06 04:20:49 +02:00
committed by GitHub
parent 03b1133336
commit cfb9a7b16f

View File

@@ -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