Skip to content

Commit

Permalink
chore: install bubblewrap
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardomaraschini committed Nov 15, 2024
1 parent 3d42213 commit c404b7d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/actions/build-custom-melange-package/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,22 @@ runs:
sudo apt install -y make
make melange
# TODO: the bubblewrap package available from "apt install"
# is outdated and missing newer features such as --clearenv flag,
# so instead we download the wolfi .apk and use the binary in there
- name: 'Install dependencies (bubblewrap)'
shell: bash
run: |
sudo apt install -y libcap-dev meson ninja-build
git clone https://github.com/containers/bubblewrap
pushd bubblewrap
meson --prefix=/usr -Drequire_userns=true . output
cd output
ninja
sudo ninja install
popd
rm -rf bubblewrap
- name: build melange package
shell: bash
run: |
Expand Down

0 comments on commit c404b7d

Please sign in to comment.