diff --git a/Dockerfiles/Dockerfile.ssas b/Dockerfiles/Dockerfile.ssas index 9a9915c..d0106c7 100644 --- a/Dockerfiles/Dockerfile.ssas +++ b/Dockerfiles/Dockerfile.ssas @@ -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 @@ -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 @@ -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