From e619350fd46cad43be66b6cdc88759f640c887dd Mon Sep 17 00:00:00 2001 From: Grunet Date: Sat, 5 Aug 2023 20:28:48 -0500 Subject: [PATCH] patch base images (#55) --- .github/workflows/check-for-updated-dependencies.yaml | 2 +- packages/honeypot/CHANGELOG.md | 4 ++++ packages/honeypot/Dockerfile | 4 ++-- packages/honeypot/version.json | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/check-for-updated-dependencies.yaml b/.github/workflows/check-for-updated-dependencies.yaml index c2ef7a2..35359ee 100644 --- a/.github/workflows/check-for-updated-dependencies.yaml +++ b/.github/workflows/check-for-updated-dependencies.yaml @@ -12,7 +12,7 @@ jobs: steps: - name: Check overview page run: | - curl https://edu.chainguard.dev/chainguard/chainguard-images/reference/python/overview/ | grep sha256:8a9cfbc08aa85649e8822003fdef85c0eba03c5a138601fd25c1a0c2987382a2 + curl https://edu.chainguard.dev/chainguard/chainguard-images/reference/python/overview/ | grep sha256:2a6931375b21a4053e9961d559caa94ddb2546c2b00aedb508884fb03694999d # If this fails, that likely means the "latest" and "latest-dev" tags for Python are pointing at new images with new digests # Follow the process to update the Dockerfiles accordingly, then update the hardcoded digest here to be one of the new digests (doesn't matter which one) to detect future changes diff --git a/packages/honeypot/CHANGELOG.md b/packages/honeypot/CHANGELOG.md index 3f67fd5..9a0a733 100644 --- a/packages/honeypot/CHANGELOG.md +++ b/packages/honeypot/CHANGELOG.md @@ -13,6 +13,10 @@ What is in scope for breaking changes includes ## Changes +### v0.4.5 + +- Update Chainguard base images in the Dockerfile + ### v0.4.4 - Update Chainguard base images in the Dockerfile diff --git a/packages/honeypot/Dockerfile b/packages/honeypot/Dockerfile index 57aaa40..d30ff53 100644 --- a/packages/honeypot/Dockerfile +++ b/packages/honeypot/Dockerfile @@ -1,7 +1,7 @@ # Adapted from https://edu.chainguard.dev/chainguard/chainguard-images/reference/python/overview/#usage # Python 3.11.4, dev base image. See https://www.chainguard.dev/unchained/a-guide-on-how-to-use-chainguard-images-for-public-catalog-tier-users for more details on how to update this -FROM cgr.dev/chainguard/python@sha256:3b28a1b0635d0dfa88aac767bc9df52807a13d62501b7f77e297e3b97dd84713 as builder +FROM cgr.dev/chainguard/python@sha256:759d011c3fc096b3e0ed7d3d77faa18ea49b5083fad3c2f04bcedb158734e742 as builder WORKDIR /app @@ -10,7 +10,7 @@ COPY requirements.txt . RUN pip install -r requirements.txt --user # Python 3.11.4, production base image. See https://www.chainguard.dev/unchained/a-guide-on-how-to-use-chainguard-images-for-public-catalog-tier-users for more details on how to update this -FROM cgr.dev/chainguard/python@sha256:8a9cfbc08aa85649e8822003fdef85c0eba03c5a138601fd25c1a0c2987382a2 +FROM cgr.dev/chainguard/python@sha256:2a6931375b21a4053e9961d559caa94ddb2546c2b00aedb508884fb03694999d # Make sure you update Python version in path COPY --from=builder /home/nonroot/.local/lib/python3.11/site-packages /home/nonroot/.local/lib/python3.11/site-packages diff --git a/packages/honeypot/version.json b/packages/honeypot/version.json index 9d6903e..70d423e 100644 --- a/packages/honeypot/version.json +++ b/packages/honeypot/version.json @@ -1,3 +1,3 @@ { - "version": "0.4.4" + "version": "0.4.5" } \ No newline at end of file