Skip to content

Commit

Permalink
update python version in Dockerfile to fix vulnerabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmet Halaç committed Nov 17, 2022
1 parent e10be0e commit db568cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down

0 comments on commit db568cd

Please sign in to comment.