Fix arm64 image

This commit is contained in:
nicolas.dorier 2020-01-14 00:35:45 +09:00
parent 74adaf1d1f
commit c35afd5e9a
No known key found for this signature in database
GPG key ID: 6618763EF09186FE

View file

@ -20,7 +20,7 @@ RUN cd BTCPayServer && dotnet publish --output /app/ --configuration Release
# Force the builder machine to take make an arm runtime image. This is fine as long as the builder does not run any program # 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/core/aspnet:3.1.0-buster-slim-arm64v8 FROM mcr.microsoft.com/dotnet/core/aspnet:3.1.0-buster-slim-arm64v8
COPY --from=builder /usr/bin/qemu-arm-static /usr/bin/qemu-arm-static COPY --from=builder /usr/bin/qemu-aarch64-static /usr/bin/qemu-aarch64-static
RUN apt-get update && apt-get install -y --no-install-recommends iproute2 openssh-client \ RUN apt-get update && apt-get install -y --no-install-recommends iproute2 openssh-client \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*