update dockerfile
All checks were successful
GoSec Scan / Gosec Check (push) Successful in -15s

This commit is contained in:
Shane C 2024-09-11 20:11:35 -04:00
parent b9e0f1e9d4
commit f1d683e7cd
Signed by: shanec
GPG key ID: E46B5FEA35B22FF9

View file

@ -8,6 +8,8 @@ RUN CGO_ENABLED=0 go build -ldflags="-s -w" -trimpath -o build/goscan
FROM alpine:3.20
RUN apk --no-cache update && apk --no-cache upgrade && apk add curl
COPY --from=builder /usr/local/go /usr/local/go
COPY --from=builder /app/build/goscan /goscan
COPY ./entrypoint.sh /entrypoint.sh