-
Notifications
You must be signed in to change notification settings - Fork 376
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update celotool container image (#10821)
### Description Update celotool container image: - Using golang 1.18 - Update debian packages in dockerfile to reduce vulnerabilities - ~~Build linux/arm64 image~~ - Using latest [container-cicd](https://github.com/celo-org/reusable-workflows/blob/v1.13.0/.github/workflows/container-cicd.yaml) shared workflow - Increase GCP token lifetime (because dockerbuild for linux/arm64 is taking ages) ### Vulnerabilities changes. From: ``` 10758 vulnerabilities found in 122 packages UNSPECIFIED 52 LOW 2396 MEDIUM 3527 HIGH 4162 CRITICAL 621 ``` To: ``` 290 vulnerabilities found in 122 packages UNSPECIFIED 20 LOW 92 MEDIUM 85 HIGH 78 CRITICAL 15 ```
- Loading branch information
1 parent
b207e22
commit 3a7135c
Showing
4 changed files
with
13 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,6 +41,7 @@ jobs: | |
service-account: '[email protected]' | ||
artifact-registry: us-west1-docker.pkg.dev/devopsre/dev-images/celotool | ||
tags: ${{ github.sha }} | ||
platforms: linux/amd64 | ||
context: . | ||
file: dockerfiles/celotool/Dockerfile | ||
trivy: true | ||
|
@@ -56,6 +57,7 @@ jobs: | |
service-account: '[email protected]' | ||
artifact-registry: us-west1-docker.pkg.dev/devopsre/celo-monorepo/celotool | ||
tags: ${{ github.sha }} | ||
platforms: linux/amd64 | ||
context: . | ||
file: dockerfiles/celotool/Dockerfile | ||
trivy: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
# Example build command: | ||
# | ||
# VERSION=x.y.z; docker build . --build-arg VERSION=$VERSION -t gcr.io/celo-testnet/celocli-standalone:$VERSION | ||
FROM node:12-alpine | ||
FROM node:20-alpine | ||
LABEL org.opencontainers.image.authors="[email protected]" | ||
|
||
# Install cli install dependencies. | ||
|