Skip to content

Commit

Permalink
patch base images (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
Grunet authored Aug 6, 2023
1 parent 614ca10 commit e619350
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-for-updated-dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions packages/honeypot/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions packages/honeypot/Dockerfile
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/honeypot/version.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "0.4.4"
"version": "0.4.5"
}

0 comments on commit e619350

Please sign in to comment.