Pin all Docker dependencies with SHA256 digests; Pin pip versions#3968
Pin all Docker dependencies with SHA256 digests; Pin pip versions#3968imnasnainaec merged 11 commits intomasterfrom
Conversation
Co-authored-by: imnasnainaec <6411521+imnasnainaec@users.noreply.github.com>
This comment was marked as resolved.
This comment was marked as resolved.
…256 digests Co-authored-by: imnasnainaec <6411521+imnasnainaec@users.noreply.github.com>
All 15 dependencies have been pinned in commit 1b7d715: Docker images (7) - added SHA256 digests:
Pip packages (4) - pinned to latest stable versions:
GitHub Actions (1) - already fixed in previous commit
Multi-arch image (1):
Requirements file (1):
Backend restore (1):
Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Co-authored-by: imnasnainaec <6411521+imnasnainaec@users.noreply.github.com>
|
commit cea598e3f1: commit 1b7d7159c2: |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #3968 +/- ##
=======================================
Coverage 74.60% 74.60%
=======================================
Files 293 293
Lines 10818 10818
Branches 1354 1354
=======================================
Hits 8071 8071
Misses 2352 2352
Partials 395 395
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
imnasnainaec
left a comment
There was a problem hiding this comment.
@imnasnainaec reviewed 1 of 8 files at r1, 4 of 7 files at r3, all commit messages.
Reviewable status: 5 of 11 files reviewed, all discussions resolved (waiting on @copilot)
Bumps the docker-deps group with 3 updates in the / directory: python, node and nginx. Bumps the docker-deps group with 2 updates in the /Backend directory: dotnet/sdk and dotnet/aspnet. Bumps the docker-deps group with 1 update in the /database directory: mongo. Bumps the docker-deps group with 1 update in the /deploy directory: python. Updates `python` from 3.12.10-slim-bookworm to 3.12.12-slim-bookworm Updates `node` from 22.17.0-bookworm-slim to 25.1.0-bookworm-slim Updates `nginx` from 1.28.0 to 1.29.3 Updates `python` from 3.12.10-slim-bookworm to 3.12.12-slim-bookworm Updates `dotnet/sdk` from 8.0.409-jammy to 8.0.415-jammy Updates `dotnet/aspnet` from 8.0.16-jammy to 8.0.21-jammy Updates `mongo` from 7.0.20-jammy to 7.0.25-jammy Updates `python` from 3.12.10-slim-bookworm to 3.12.12-slim-bookworm Updates `python` from 3.12.10-slim-bookworm to 3.12.12-slim-bookworm --- updated-dependencies: - dependency-name: python dependency-version: 3.12.12-slim-bookworm dependency-type: direct:production update-type: version-update:semver-patch dependency-group: docker-deps - dependency-name: node dependency-version: 25.1.0-bookworm-slim dependency-type: direct:production update-type: version-update:semver-major dependency-group: docker-deps - dependency-name: nginx dependency-version: 1.29.3 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: docker-deps - dependency-name: python dependency-version: 3.12.12-slim-bookworm dependency-type: direct:production update-type: version-update:semver-patch dependency-group: docker-deps - dependency-name: dotnet/sdk dependency-version: 8.0.415-jammy dependency-type: direct:production update-type: version-update:semver-patch dependency-group: docker-deps - dependency-name: dotnet/aspnet dependency-version: 8.0.21-jammy dependency-type: direct:production update-type: version-update:semver-patch dependency-group: docker-deps - dependency-name: mongo dependency-version: 7.0.25-jammy dependency-type: direct:production update-type: version-update:semver-patch dependency-group: docker-deps - dependency-name: python dependency-version: 3.12.12-slim-bookworm dependency-type: direct:production update-type: version-update:semver-patch dependency-group: docker-deps - dependency-name: python dependency-version: 3.12.12-slim-bookworm dependency-type: direct:production update-type: version-update:semver-patch dependency-group: docker-deps ... Signed-off-by: dependabot[bot] <support@github.com>
- Updated python from 3.12.10 to 3.12.12 with new digest - Updated node from 22.17.0 to 22.21.1 with new digest - Updated nginx from 1.28.0 to 1.29.3 with new digest - Updated dotnet/sdk from 8.0.409 to 8.0.415 with new digest - Updated dotnet/aspnet from 8.0.16 to 8.0.21 with new digest - Updated mongo from 7.0.20 to 7.0.25 with new digest - Updated actions/labeler from v5 to v6.0.1 (SHA pinned) - Merged changes from PR #4004 (Bump docker-deps)
|
Merged master and PR #4004 in commit e58238c. Updated all Docker base images to their newer versions from PR #4004 while adding SHA256 digests:
|
imnasnainaec
left a comment
There was a problem hiding this comment.
@copilot The merge conflict resolution was poorly done, deleting important lines from Dockerfiles.
… lines Restored lines that were accidentally deleted during merge: - Dockerfile: WORKDIR, ENV variables (HOST_DIR, FRONTEND_HOST_DIR), and RUN mkdir commands - Backend/Dockerfile: ENV variables (ASPNETCORE_URLS, COMBINE_IS_IN_CONTAINER, ASPNETCORE_ENVIRONMENT, DOTNET_PRINT_TELEMETRY_MESSAGE, HOME) Co-authored-by: imnasnainaec <6411521+imnasnainaec@users.noreply.github.com>
|
For reference, here's the pip/piptools compatibility issue: jazzband/pip-tools#2252 |
imnasnainaec
left a comment
There was a problem hiding this comment.
@imnasnainaec reviewed 2 of 7 files at r3, 5 of 7 files at r4, 2 of 2 files at r5, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @copilot)
jasonleenaylor
left a comment
There was a problem hiding this comment.
@jasonleenaylor reviewed 4 of 7 files at r3, 5 of 7 files at r4, 2 of 2 files at r5, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @copilot)
Pin all Docker and GitHub Actions dependencies with SHA256 digests - FIXED ✅
Changes Made
Docker Base Images (7 images pinned with SHA256 digests - UPDATED)
python:3.12.12-slim-bookworm@sha256:235ad56f...(updated from 3.12.10)node:22.21.1-bookworm-slim@sha256:4de72fb3...(updated from 22.17.0)nginx:1.29.3@sha256:bd1578ee...(updated from 1.28.0)mcr.microsoft.com/dotnet/sdk:8.0.415-jammy@sha256:fa5a4536...(updated from 8.0.409)mcr.microsoft.com/dotnet/aspnet:8.0.21-jammy@sha256:f771a2d3...(updated from 8.0.16)python:3.12.12-slim-bookworm@sha256:235ad56f...(updated from 3.12.10)mongo:7.0.25-jammy@sha256:29228a67...(updated from 7.0.20)aws-kubectl:0.4.0-$TARGETARCH(version pinned with architecture-specific digests documented in comments)Pip Packages (4 packages pinned with version numbers)
pip==24.2,tox==4.26.0,tox-gh-actions==3.5.0pip==24.2,tox==4.26.0Merged Changes
Security Improvements
Fixes #3967
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.
This change is