tests: ensure pack binary is installed correctly when running tests in a devcontainer

This commit is contained in:
Jose Diaz-Gonzalez
2024-09-28 22:30:09 -04:00
parent 5857a937d5
commit 03102cd681
2 changed files with 2 additions and 2 deletions

View File

@@ -637,7 +637,7 @@ convert_to_dockerfile() {
}
install_pack() {
if ! command -v "pack" &>/dev/null; then
if [[ ! -x /usr/bin/pack ]]; then
add-apt-repository --yes ppa:cncf-buildpacks/pack-cli
apt-get update
apt-get --yes install pack-cli