Skip to content

Commit

Permalink
pip with no cache directory
Browse files Browse the repository at this point in the history
  • Loading branch information
goneri committed Nov 5, 2024
1 parent 20265b2 commit ddd9642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ curl -L -k https://github.com/${repo}/archive/${ref}.tar.gz | tar xfz - -C $MNT/

pkg_add -P $MNT mozilla-rootcerts
chroot $MNT /bin/sh -c 'mozilla-rootcerts install'
chroot $MNT /bin/sh -c '. /etc/profile; pkg_add python312 py312-pip; python3.12 -m pip install jsonpointer'
chroot $MNT /bin/sh -c '. /etc/profile; pkg_add python312 py312-pip; python3.12 -m pip --no-cache-dir install jsonpointer'
chroot $MNT /bin/sh -c '. /etc/profile; cd /tmp/cloud-init-*; PYTHON=/usr/pkg/bin/python3.12 ./tools/build-on-netbsd'
# Ensure we've got all the dependency installed as expected
chroot $MNT /bin/sh -c '. /etc/profile; /usr/pkg/bin/python3.12 -mcloudinit.handlers.cloud_config'
Expand Down

0 comments on commit ddd9642

Please sign in to comment.