Skip to content
This repository has been archived by the owner on Jul 19, 2022. It is now read-only.

[Snyk] Security upgrade alpine from latest to 3.15 #23

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags="-w -s" -o /go/bin/s
#################################
# STEP 3 create permissioned user
#################################
FROM alpine AS user
FROM alpine:3.15 AS user
# Install git + SSL ca certificates.
# Git is required for fetching the dependencies.
# Ca-certificates is required to call HTTPS endpoints.
Expand All @@ -65,7 +65,7 @@ RUN adduser \
# STEP 4 build a small image
############################
# Can't run from sratch, need to be able to `chmod`
FROM alpine
FROM alpine:3.15

# Install curl
RUN apk update && apk --no-cache add curl
Expand Down