Skip to content

Commit

Permalink
Use more customizable docker install (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
QubitPi committed Aug 14, 2024
1 parent 1f5e0f4 commit 8fa29f6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions provisioner/shell/provisioner.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,9 @@ func Provision(ctx context.Context, ui packersdk.Ui, communicator packersdk.Comm
func CommandsInstallingSudoLessDocker() []string {
return []string{
"sudo apt update && sudo apt upgrade -y",
"sudo apt install software-properties-common -y",
"sudo apt install git software-properties-common -y",

"curl -fsSL https://get.docker.com -o get-docker.sh",
"sh get-docker.sh",
"git clone https://github.com/QubitPi/docker-install.git && cd docker-install && sh install.sh",
"sudo usermod -aG docker ${USER}",
"sudo chmod o+rw /var/run/docker.sock",
}
Expand Down

0 comments on commit 8fa29f6

Please sign in to comment.