fix polaris cves (#824)

This commit is contained in:
Robert Brennan
2022-08-22 09:44:44 -04:00
committed by GitHub
parent e3a6cb3774
commit b90f091bb6

View File

@@ -15,8 +15,9 @@ RUN go get -u github.com/gobuffalo/packr/v2/packr2
COPY . .
RUN packr2 build -a -o polaris *.go
FROM alpine:3.16.1
FROM alpine:3.16
WORKDIR /usr/local/bin
RUN apk -U upgrade
RUN apk --no-cache add ca-certificates
RUN addgroup -S polaris && adduser -u 1200 -S polaris -G polaris