Skip to content

Commit

Permalink
fix: too many packages literally depend upon distutils being acce…
Browse files Browse the repository at this point in the history
…ssible SMH
  • Loading branch information
autumnjolitz committed Oct 8, 2024
1 parent 6564543 commit 9dcece2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile.alpine
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ RUN set -eu ; \
tar -C "$BUILD_ROOT" -cpf - etc/apk bin/ln bin/busybox var/cache/apk usr/share/apk | tar -C "$CACHE_ROOT" -xpf - ; \
rm -rf $BUILD_ROOT/bin/ln $BUILD_ROOT/bin/busybox $BUILD_ROOT/etc/apk $BUILD_ROOT/var/cache/apk $BUILD_ROOT/usr/share/apk && \
# regenerate the ca-certs!
chroot $BUILD_ROOT update-ca-certificates
chroot $BUILD_ROOT update-ca-certificates && \
chroot-pip install --force-reinstall setuptools

FROM scratch AS distroless-python
ARG ALPINE_VERSION=3.20
Expand Down

0 comments on commit 9dcece2

Please sign in to comment.