Skip to content

ci: fix freebsd package repository#234

Merged
tonistiigi merged 3 commits intotonistiigi:masterfrom
crazy-max:fix-freebsd-repo
Apr 8, 2025
Merged

ci: fix freebsd package repository#234
tonistiigi merged 3 commits intotonistiigi:masterfrom
crazy-max:fix-freebsd-repo

Conversation

@crazy-max
Copy link
Collaborator

@crazy-max crazy-max commented Apr 8, 2025

relates to: https://github.com/tonistiigi/fsutil/actions/runs/14326752686/job/40153584558#step:6:68

 ==> default: Machine booted and ready!
==> default: Installing rsync to the VM...
==> default: Rsyncing folder: /home/runner/work/fsutil/fsutil/ => /vagrant
==> default: Running provisioner: init (shell)...
    default: Running: inline script
    default: pkg already bootstrapped at /usr/local/sbin/pkg
    default: Updating FreeBSD repository catalogue...
    default: FreeBSD repository is up to date.
    default: All repositories are up to date.
    default: pkg: No packages available to install matching 'go123' have been found in the repositories

This is similar to moby/buildkit#5893 but instead we can install Go from official binary release like we have done on Buildx repo: docker/buildx#2995 so we don't need to install from package repo.

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
Comment on lines +22 to +27
cat << 'EOF' > /usr/bin/go-wrapper
#!/bin/sh
export TMPDIR="/var/tmp"
exec /var/tmp/go/bin/go "$@"
EOF
chmod +x /usr/bin/go-wrapper
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@crazy-max crazy-max marked this pull request as ready for review April 8, 2025 09:37
@tonistiigi tonistiigi merged commit 5512fa1 into tonistiigi:master Apr 8, 2025
22 checks passed
@crazy-max crazy-max deleted the fix-freebsd-repo branch April 8, 2025 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants