19d860fa9d
The official Python images on Docker Hub switched to debian bookworm, which is now the current stable version of Debian. However, the location of the apt repository config file changed, which causes the Dockerfile build to fail; Loaded image: emptyfs:latest Loaded image ID: sha256:0df1207206e5288f4a989a2f13d1f5b3c4e70467702c1d5d21dfc9f002b7bd43 INFO: Building docker-sdk-python3:5.0.3... tests/Dockerfile:6 -------------------- 5 | ARG APT_MIRROR 6 | >>> RUN sed -ri "s/(httpredir|deb).debian.org/${APT_MIRROR:-deb.debian.org}/g" /etc/apt/sources.list \ 7 | >>> && sed -ri "s/(security).debian.org/${APT_MIRROR:-security.debian.org}/g" /etc/apt/sources.list 8 | -------------------- ERROR: failed to solve: process "/bin/sh -c sed -ri \"s/(httpredir|deb).debian.org/${APT_MIRROR:-deb.debian.org}/g\" /etc/apt/sources.list && sed -ri \"s/(security).debian.org/${APT_MIRROR:-security.debian.org}/g\" /etc/apt/sources.list" did not complete successfully: exit code: 2 This needs to be fixed in docker-py, but in the meantime, we can pin to the bullseye variant. Signed-off-by: Sebastiaan van Stijn <github@gone.nl> |
||
---|---|---|
.. | ||
.binary | ||
.build-empty-images | ||
.go-autogen | ||
.go-autogen.ps1 | ||
.install | ||
.integration-daemon-start | ||
.integration-daemon-stop | ||
.integration-test-helpers | ||
.mkwinres | ||
binary | ||
binary-daemon | ||
binary-proxy | ||
dynbinary | ||
dynbinary-daemon | ||
dynbinary-proxy | ||
install-binary | ||
install-proxy | ||
README.md | ||
run | ||
test-docker-py | ||
test-integration | ||
test-integration-flaky | ||
test-integration-shell |
This directory holds scripts called by make.sh
in the parent directory.
Each script is named after the bundle it creates. They should not be called directly - instead, pass it as argument to make.sh, for example:
./hack/make.sh binary ubuntu
# Or to run all default bundles:
./hack/make.sh
To add a bundle:
- Create a shell-compatible file here
- Add it to $DEFAULT_BUNDLES in make.sh