mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-03 17:36:59 +01:00
Use buster rather than bulleyes for arm32
This commit is contained in:
parent
86e528e5df
commit
b3b9651cd8
1 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
# This is a manifest image, will pull the image with the same arch as the builder machine
|
||||
FROM mcr.microsoft.com/dotnet/sdk:3.1.413-bullseye AS builder
|
||||
# Note that we are using buster rather than bullseye. Somehow, raspberry pi 4 doesn't like bullseye.
|
||||
FROM mcr.microsoft.com/dotnet/sdk:3.1.413-buster AS builder
|
||||
ENV DOTNET_CLI_TELEMETRY_OPTOUT=1
|
||||
RUN apt-get update \
|
||||
&& apt-get install -qq --no-install-recommends qemu qemu-user-static qemu-user binfmt-support
|
||||
|
@ -24,8 +24,8 @@ COPY Build/Version.csproj Build/Version.csproj
|
|||
ARG CONFIGURATION_NAME=Release
|
||||
RUN cd BTCPayServer && dotnet publish --output /app/ --configuration ${CONFIGURATION_NAME}
|
||||
|
||||
# Force the builder machine to take make an arm runtime image. This is fine as long as the builder does not run any program
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:3.1.19-bullseye-slim-arm32v7
|
||||
# Note that we are using buster rather than bullseye. Somehow, raspberry pi 4 doesn't like bullseye.
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:3.1.19-buster-slim-arm32v7
|
||||
COPY --from=builder /usr/bin/qemu-arm-static /usr/bin/qemu-arm-static
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends iproute2 openssh-client \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
|
Loading…
Add table
Reference in a new issue