Skip to content

Run package upgrade immediately after apt index refresh in devcontainer build#36

Merged
idvoretskyi merged 1 commit into
mainfrom
copilot/add-apt-get-upgrade-step
May 11, 2026
Merged

Run package upgrade immediately after apt index refresh in devcontainer build#36
idvoretskyi merged 1 commit into
mainfrom
copilot/add-apt-get-upgrade-step

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 11, 2026

The devcontainer image now applies security/package upgrades directly after refreshing apt metadata, instead of later in the install chain. This keeps the image aligned with the latest available package versions earlier in provisioning.

  • What changed

    • Reordered the Dockerfile RUN chain so apt-get -y upgrade executes immediately after apt-get update.
    • Removed the previous later apt-get -y upgrade invocation to keep a single upgrade step.
  • Dockerfile flow update

    RUN apt-get update && apt-get -y upgrade && export DEBIAN_FRONTEND=noninteractive \
        && apt-get -y install --no-install-recommends ...

Agent-Logs-Url: https://github.com/idvoretskyi/dev/sessions/ae33b57a-cda6-4adc-90fc-c94d7bf9e634

Co-authored-by: idvoretskyi <118459+idvoretskyi@users.noreply.github.com>
@idvoretskyi idvoretskyi marked this pull request as ready for review May 11, 2026 15:31
@idvoretskyi idvoretskyi merged commit b127860 into main May 11, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants