Skip to content

Commit

Permalink
add apt armor
Browse files Browse the repository at this point in the history
  • Loading branch information
oxmix committed Oct 5, 2023
1 parent 8933b4f commit c2ecea6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deployment/deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,16 @@ func (d *Deployment) CargoShell() []byte {
function install {
if [[ $(uname) == 'Linux' ]]; then
if ! command -v $1 &> /dev/null; then
echo "• Install $2"
sudo apt update
sudo apt -y install $2
fi
fi
}
echo "• Install docker.io"
install docker docker.io
install apparmor_status apparmor
echo "• Pull oxmix/cargo-deployer"
docker pull oxmix/cargo-deployer:` + u.Env().CargoVersion + `
Expand Down

0 comments on commit c2ecea6

Please sign in to comment.