Skip to content

Commit

Permalink
[Snyk] Security upgrade alpine from 3.17 to 3.20 (pipe-cd#5014)
Browse files Browse the repository at this point in the history
* fix: docs/Dockerfile to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-ALPINE317-OPENSSL-7413590
- https://snyk.io/vuln/SNYK-ALPINE317-OPENSSL-7413590
- https://snyk.io/vuln/SNYK-ALPINE317-OPENSSL-7413591
- https://snyk.io/vuln/SNYK-ALPINE317-OPENSSL-7413591

Signed-off-by: Shinnosuke Sawada-Dazai <shin@warashi.dev>

* Bump alpine

Signed-off-by: Shinnosuke Sawada-Dazai <shin@warashi.dev>

---------

Signed-off-by: Shinnosuke Sawada-Dazai <shin@warashi.dev>
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: Shinnosuke Sawada-Dazai <shin@warashi.dev>
  • Loading branch information
3 people authored Jul 12, 2024
1 parent c1b16dc commit d01f353
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion cmd/helloworld/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.15
FROM alpine:3.20

ADD .artifacts/helloworld /usr/local/bin/helloworld

Expand Down
2 changes: 1 addition & 1 deletion cmd/pipecd/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.13
FROM alpine:3.20

ARG GOOGLE_CLOUD_SDK_VERSION=324.0.0

Expand Down
2 changes: 1 addition & 1 deletion cmd/pipectl/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.13
FROM alpine:3.20

RUN apk add --no-cache git

Expand Down
2 changes: 1 addition & 1 deletion docs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM golang:1.22.4-alpine3.20 AS builder
COPY main.go .
RUN go build -o /server main.go

FROM alpine:3.17
FROM alpine:3.20
RUN apk --no-cache add ca-certificates

COPY --from=builder /server ./
Expand Down
4 changes: 2 additions & 2 deletions manifests/pipecd/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ spec:
{{- if .Values.quickstart.enabled }}
initContainers:
- name: dep-waiter
image: alpine:3.14
image: alpine:3.20
command: ["sh", "-c"]
args:
- |
Expand Down Expand Up @@ -261,7 +261,7 @@ spec:
{{- if .Values.quickstart.enabled }}
initContainers:
- name: dep-waiter
image: alpine:3.14
image: alpine:3.20
command: ["sh", "-c"]
args:
- |
Expand Down
2 changes: 1 addition & 1 deletion tool/piped-base/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.13
FROM alpine:3.20

ARG PIPED_USER=piped
ARG PIPED_USER_GROUP=piped
Expand Down

0 comments on commit d01f353

Please sign in to comment.