From db568cd2f661ebff10031924f89a17bd65589593 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Hala=C3=A7?= Date: Thu, 17 Nov 2022 08:59:52 +0300 Subject: [PATCH] update python version in Dockerfile to fix vulnerabilities --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2e5adee7..3fe3a802 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ WORKDIR $GOPATH/src/github.com/opsgenie/oec/main RUN export GIT_COMMIT=$(git rev-list -1 HEAD) && \ CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -installsuffix cgo \ -ldflags "-X main.OECCommitVersion=$GIT_COMMIT -X main.OECVersion=1.0.1" -o nocgo -o /oec . -FROM python:alpine3.12 as base +FROM python:alpine3.16 as base RUN pip install requests RUN addgroup -S opsgenie && \ adduser -S opsgenie -G opsgenie && \