Replies: 1 comment 1 reply
-
Very strange. I tried building the same Dockerfile you referenced and it works: C:\repos\dotnet-docker\samples\dotnetapp> docker build --pull --no-cache -f Dockerfile.debian-arm32 .
[+] Building 12.1s (15/15) FINISHED
=> [internal] load build definition from Dockerfile.debian-arm32 0.0s
=> => transferring dockerfile: 45B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 34B 0.0s
=> [internal] load metadata for mcr.microsoft.com/dotnet/runtime:7.0-bullseye-slim-arm32v7 0.2s
=> [internal] load metadata for mcr.microsoft.com/dotnet/sdk:7.0 0.3s
=> [build 1/6] FROM mcr.microsoft.com/dotnet/sdk:7.0@sha256:d2426a8080cf93f28f5bdb7bbd1b1fa2685b74bf6607745d8a60c667d52c48c9 0.0s
=> [stage-1 1/3] FROM mcr.microsoft.com/dotnet/runtime:7.0-bullseye-slim-arm32v7@sha256:03e1e5593f3515c996979f16a10a3774869ae23b3cb1e194c0376f819cdfc99e 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 100B 0.0s
=> CACHED [build 2/6] WORKDIR /source 0.0s
=> CACHED [stage-1 2/3] WORKDIR /app 0.0s
=> [build 3/6] COPY *.csproj . 0.1s
=> [build 4/6] RUN dotnet restore -r linux-arm 6.5s
=> [build 5/6] COPY . . 0.1s
=> [build 6/6] RUN dotnet publish -c Release -o /app -r linux-arm --self-contained false --no-restore 4.6s
=> [stage-1 3/3] COPY --from=build /app . 0.1s
=> exporting to image 0.1s
=> => exporting layers 0.1s
=> => writing image sha256:715eeb9d98ae2774decd58f7d053b0b018b1d44357400de3246e790fb6104a7a What type of environment are you running the build on? Can you provide the output of |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Trying to build an image for raspberry
fails with
also tried with latest https://github.com/dotnet/dotnet-docker/blob/main/samples/dotnetapp/Dockerfile.debian-arm32 and get the same error
Beta Was this translation helpful? Give feedback.
All reactions