Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Security upgrade golang from 1.21.12-alpine3.20 to alpine3.20 #194

Merged
merged 2 commits into from
Nov 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Dockerfiles/Dockerfile.ssas
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.21.12-alpine3.20 AS documentation
FROM golang:alpine3.20 AS documentation
RUN apk update upgrade
RUN apk add git build-base gcc binutils-gold
WORKDIR /go/src/github.com/CMSgov/bcda-ssas-app
Expand All @@ -13,7 +13,7 @@ RUN dir=$(mktemp -d) && \
WORKDIR /go/src/github.com/CMSgov/bcda-ssas-app/ssas/service/main
RUN swagger generate spec -i ../../swaggerui/tags.yml -o ../../swaggerui/swagger.json -m

FROM golang:1.21.12-alpine3.20 AS builder
FROM golang:alpine3.20 AS builder
ARG VERSION
RUN apk update upgrade
RUN apk add git
Expand All @@ -23,7 +23,7 @@ WORKDIR /go/src/github.com/CMSgov/bcda-ssas-app/ssas
COPY --from=documentation /go/src/github.com/CMSgov/bcda-ssas-app/ssas/swaggerui ./swaggerui
RUN go build -ldflags "-X github.com/CMSgov/bcda-ssas-app/ssas/constants.Version=$VERSION" -o ssas ./service/main

FROM golang:1.21.12-alpine3.20
FROM golang:alpine3.20
RUN apk update upgrade
RUN apk --no-cache add ca-certificates aws-cli curl
WORKDIR /go/src/github.com/CMSgov/bcda-ssas-app
Expand Down
Loading