Skip to content

Commit

Permalink
CASMHMS-6282: Update alpine base image to resolve CVE
Browse files Browse the repository at this point in the history
  • Loading branch information
jwlv committed Oct 1, 2024
1 parent 37e2d5e commit ce7bc1b
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.34.0
1.35.0
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.35.0] - 2024-10-03

- Update alpine base image to resolve CVE

## [1.34.0] - 2024-09-10

- Snapshot now uses softwareID to find correct current imageID value
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ RUN set -ex && go build -v -i -o /usr/local/bin/hms-firmware-action github.com/C

### Build python base ###

FROM artifactory.algol60.net/csm-docker/stable/docker.io/library/alpine:3.17 AS deploy-base
FROM artifactory.algol60.net/csm-docker/stable/docker.io/library/alpine:3.19 AS deploy-base

COPY cmd/fw-loader/Pipfile /

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.functionaltesting.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

### Build python base ###

FROM artifactory.algol60.net/csm-docker/stable/docker.io/library/alpine:3.15 AS build-base
FROM artifactory.algol60.net/csm-docker/stable/docker.io/library/alpine:3.19 AS build-base

RUN set -ex \
&& apk -U upgrade \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.integration.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ RUN set -ex && go build -v -i -o /usr/local/bin/hms-firmware-action github.com/C

### Build python base ###

FROM artifactory.algol60.net/csm-docker/stable/docker.io/library/alpine:3.17 AS deploy-base
FROM artifactory.algol60.net/csm-docker/stable/docker.io/library/alpine:3.19 AS deploy-base

COPY cmd/fw-loader/Pipfile /

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.integration.tests.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

# This file only exists as a means to run tests in an automated fashion.

FROM artifactory.algol60.net/csm-docker/stable/docker.io/library/alpine:3.15 AS build-base
FROM artifactory.algol60.net/csm-docker/stable/docker.io/library/alpine:3.19 AS build-base

ENV LOG_LEVEL TRACE
ENV API_URL "http://cray-fas"
Expand Down Expand Up @@ -56,4 +56,4 @@ WORKDIR src
CMD ["sh", "-c", "set -ex; pwd; python3 -m pytest test/"]

#in case you want to sleep instead of RUN
#CMD ["sh", "-c", "sleep 1000" ]
#CMD ["sh", "-c", "sleep 1000" ]

0 comments on commit ce7bc1b

Please sign in to comment.