question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Rollout issue] Docker images failing to build due to failure in build-rootfs.sh

See original GitHub issue
  • This issue is blocking

This issue is blocking rollouts for the docker images.

  • This issue is causing unreasonable pain

The latest docker rollout https://dnceng.visualstudio.com/internal/_build/results?buildId=2085885&view=logs&j=1c4e26f6-d871-56a6-8075-f831838eaa01&t=c6369efb-1c13-5347-3009-6c7a7740b620&l=7402 is failing with error:

--2023-01-12 12:58:02--  https://github.com/alpinelinux/apk-tools/releases/download/v2.9.1/apk-tools-2.9.1-x86_64-linux.tar.gz
...

2023-01-12 12:58:02 (85.6 MB/s) - ‘/tmp/tmp.sZ4OiI52Uk/apk-tools-2.9.1-x86_64-linux.tar.gz’ saved [814809/814809]
...
'/usr/bin/qemu-arm-static' -> '/rootfs/arm/usr/bin/qemu-arm-static'
fetch http://dl-cdn.alpinelinux.org/alpine/v3.13/community/armv7/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.13/main/armv7/APKINDEX.tar.gz
ERROR: unsatisfiable constraints:
  numactl-dev (missing):
    required by: world[numactl-dev]
-- EXECUTION ELAPSED TIME: 00:00:04.5055328
-- EXECUTING: docker logout dotnetdocker.azurecr.io
Removing login credentials for dotnetdocker.azurecr.io
-- EXECUTION ELAPSED TIME: 00:00:00.0257663
Unhandled exception: System.InvalidOperationException: Failed to execute build hook '/repo/dotnet-dotnet-buildtools-prereqs-docker/src/ubuntu/22.04/cross/arm-alpine/hooks/pre-build'

The docker pipeline downloads this script directly from arcade, so once a fix is understood the pipeline should be unblocked.

Release Note Category

  • Feature changes/additions
  • Bug fixes
  • Internal Infrastructure Improvements

Release Note Description

Issue Analytics

  • State:closed
  • Created 8 months ago
  • Comments:14 (14 by maintainers)

github_iconTop GitHub Comments

2reactions
michellemcdanielcommented, Jan 12, 2023

We are currently in the process of converting docker images to be in line with our policies, but let’s see if we can put together a meeting about rootfs, ownership, and SSC.

1reaction
jkotascommented, Jan 12, 2023

The rootfs scripts do not fit in line with secure supply chain.

I agree that the current rootfs scripts have supply chain problems and we should fix those. We should have a discussion about the best way to do that.

rootfs as a build technology is critical for us (https://github.com/dotnet/arcade/issues/12189#issuecomment-1380627080).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Docker build "FROM" Fails to search local images #795
When building containers FROM another container image I've built locally, Docker build is failing to find the image and searching externally ...
Read more >
error building docker image 'executor failed running [/bin ...
The solution was to build the docker image once with the --no-cache flag: docker build --no-cache . I solved this issue by adding...
Read more >
SOLVED: Docker build “Could not resolve 'archive.ubuntu. ...
I get the error as seen in the screen shot below. Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic/InRelease Temporary failure resolving 'archive.
Read more >
Troubleshoot Docker Engine installation
Diagnose and resolve error messages related to the Docker Engine installation.
Read more >
How to Fix and Debug Docker Containers Like a Superhero
Container errors are tricky to diagnose, but some investigative magic works wonders. Read along to learn how to debug Docker containers.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found