Skip to content

Commit

Permalink
update base images (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
Grunet authored Sep 11, 2023
1 parent eb951c7 commit 402e361
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:36d9faf5198aec34124b2d8434b23dbe518f72ecc62d51b2b8e29fbd62f44110
curl https://edu.chainguard.dev/chainguard/chainguard-images/reference/python/overview/ | grep sha256:c8cbd40534c4db9d7167aec76982a248d2a3c21d42dcb4af411da552708067b3
# 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.8

- Update Chainguard base images in the Dockerfile

### v0.4.7

- Update Chainguard base images in the Dockerfile, including an update to Python 3.11.5 from 3.11.4
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.5, 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:2dccbdb82841992fe1ff8413c533036aae3aa6539462ba288c64b66ec3199e27 as builder
FROM cgr.dev/chainguard/python@sha256:e51a0b8de16b38ab18c2571ff8b0d27e6d5ad6285ec80c532dcc9feaa0444ff8 as builder

WORKDIR /app

Expand All @@ -10,7 +10,7 @@ COPY requirements.txt .
RUN pip install -r requirements.txt --user

# Python 3.11.5, 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:36d9faf5198aec34124b2d8434b23dbe518f72ecc62d51b2b8e29fbd62f44110
FROM cgr.dev/chainguard/python@sha256:c8cbd40534c4db9d7167aec76982a248d2a3c21d42dcb4af411da552708067b3

# 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.7"
"version": "0.4.8"
}

0 comments on commit 402e361

Please sign in to comment.