From ad37678e5759a57a8e668f3878d413f944dfbb05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milo=C5=A1=20Spasojevi=C4=87?= Date: Thu, 28 Sep 2023 14:31:01 +0200 Subject: [PATCH] update container base image to run smokescreen running as is fails with go erroring due to missing GLIBC_2.32 and GLIBC_2.34 Updating prod base image to ubuntu:22.04 solves the issue and runs smokescreen fine --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5530216..f064041 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,9 +5,9 @@ COPY . . RUN go build . -FROM ubuntu:18.04 +FROM ubuntu:22.04 COPY --from=builder /go/src/app/smokescreen /usr/local/bin/smokescreen COPY acl.yaml /etc/smokescreen/acl.yaml -CMD ["smokescreen", "--egress-acl-file", "/etc/smokescreen/acl.yaml"] \ No newline at end of file +CMD ["smokescreen", "--egress-acl-file", "/etc/smokescreen/acl.yaml"]