Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilWindle committed Sep 12, 2023
1 parent 3a492bf commit 45ea7f6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build-system/scripts/build
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ echo "Content hash: $CONTENT_HASH"

cd $BUILD_DIR

ensure_apt_package docker-buildx-plugin
ensure_docker_buildx
docker buildx create --name multi-platform-builder --bootstrap --use

# If we have previously successful commit, we can early out if nothing relevant has changed since.
Expand Down
3 changes: 1 addition & 2 deletions build-system/scripts/ensure_apt_package
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@ if dpkg -s $1 &> /dev/null; then
fi

>&2 echo "Installing $1..."
#sudo apt update &> /dev/null && sudo apt install --force-yes $1 &> /dev/null
sudo apt install --force-yes $1
sudo apt update &> /dev/null && sudo apt install --force-yes $1 &> /dev/null
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ echo \
"deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
"$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get update
sudo apt-get install docker-buildx-plugin

0 comments on commit 45ea7f6

Please sign in to comment.