Skip to content

Commit af24dd8

Browse files
author
AidanAbd
committed
fix: upgrade apt
1 parent a537a1c commit af24dd8

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

sysbox-eks-incremental.pkr.hcl

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,17 @@ build {
103103
"source.amazon-ebs.ubuntu-eks",
104104
]
105105

106+
provisioner "shell" {
107+
inline_shebang = "/usr/bin/env bash"
108+
inline = [
109+
"set -o pipefail -o errexit",
110+
111+
"echo Updating apt",
112+
"sudo apt update --yes",
113+
"sudo apt-get update --yes",
114+
]
115+
}
116+
106117
provisioner "shell" {
107118
inline_shebang = "/usr/bin/env bash"
108119
inline = [

0 commit comments

Comments
 (0)