From 124e38f4e8d11ccf3a50cee083e8595c01a39f79 Mon Sep 17 00:00:00 2001 From: Craig Thacker Date: Thu, 14 Dec 2023 00:08:00 +0000 Subject: [PATCH] Update code --- containers/jenkins-alpine/packer.pkr.hcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/containers/jenkins-alpine/packer.pkr.hcl b/containers/jenkins-alpine/packer.pkr.hcl index 357c065..3633120 100644 --- a/containers/jenkins-alpine/packer.pkr.hcl +++ b/containers/jenkins-alpine/packer.pkr.hcl @@ -123,7 +123,7 @@ build { sources = ["source.docker.alpine"] provisioner "shell" { - execute_command = "sudo -Hu root sh -c '{{ .Vars }} {{ .Path }}'" + execute_command = "sh -c '{{ .Vars }} {{ .Path }}'" inline = [ "echo '@edge https://dl-cdn.alpinelinux.org/alpine/edge/testing' >> /etc/apk/repositories", "apk add --no-cache ${join(" ", local.packages)}",