From 574a2e702772b3fc3b0dd0971929c0a59ab8e768 Mon Sep 17 00:00:00 2001 From: Karim Shakirov Date: Tue, 3 Mar 2020 21:36:10 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=BF=D1=8B=D1=82=D0=BA=D0=B0=20?= =?UTF-8?q?=D0=BF=D0=BE=20=D1=80=D0=B5=D0=BA=D0=BE=D0=BC=D0=B5=D0=BD=D0=B4?= =?UTF-8?q?=D0=B0=D1=86=D0=B8=D0=B8=20=D0=B4=D0=BB=D1=8F=20=D1=81=D0=B1?= =?UTF-8?q?=D0=BE=D1=80=D0=BA=D0=B8=20=D0=B0=D1=80=D0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/docker/hub-feedback/issues/1261#issuecomment-491479416 --- Dockerfile.ARM | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile.ARM b/Dockerfile.ARM index b466fe3..3b1ee57 100644 --- a/Dockerfile.ARM +++ b/Dockerfile.ARM @@ -7,11 +7,16 @@ COPY src/ ./ RUN dotnet restore OneScript/OneScriptWeb.csproj RUN dotnet publish OneScript/OneScriptWeb.csproj -c Release -o /app/out -f netcoreapp2.2 -r linux-arm +WORKDIR /builder/working/directory +RUN curl -L https://github.com/balena-io/qemu/releases/download/v3.0.0%2Bresin/qemu-3.0.0+resin-arm.tar.gz | tar zxvf - -C . && mv qemu-3.0.0+resin-arm/qemu-arm-static . + # RUNTIME #FROM mcr.microsoft.com/dotnet/core/aspnet:2.2 FROM arm32v7/ubuntu:latest -# RUN apt update +COPY --from=build-env /builder/working/directory/qemu-arm-static /usr/bin + +RUN apt update RUN apt install -y --no-install-recommends liblttng-ust0 libcurl4 libssl1.0.0 libkrb5-3 zlib1g libicu60 && \ rm -rf /var/lib/apt/lists/*