Skip to content

Conversation

@Akanshu-2u
Copy link
Contributor

@Akanshu-2u Akanshu-2u commented Jan 27, 2026

Description

Adds a custom Dev Container build to work around apt-get update failures caused by a legacy Yarn apt repository configuration.

Changes:

  • Configure the devcontainer to build from a local .devcontainer/Dockerfile.
  • Add a Dockerfile that removes Yarn apt source list files before running apt-get update.

Private JIRA Link:

BOMS-394

Copilot AI review requested due to automatic review settings January 27, 2026 13:35
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a custom Dev Container build to work around apt-get update failures caused by a legacy Yarn apt repository configuration.

Changes:

  • Configure the devcontainer to build from a local .devcontainer/Dockerfile.
  • Add a Dockerfile that removes Yarn apt source list files before running apt-get update.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
.devcontainer/devcontainer.json Switches devcontainer configuration to build using a local Dockerfile.
.devcontainer/Dockerfile Removes legacy Yarn apt repo list entries and runs apt-get update to avoid EXPKEYSIG failures.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings January 27, 2026 13:42
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@@ -0,0 +1,8 @@
FROM mcr.microsoft.com/devcontainers/universal:latest
Copy link

Copilot AI Jan 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Dockerfile uses mcr.microsoft.com/devcontainers/universal:latest, which makes devcontainer builds non-reproducible and can introduce unexpected breakages when the upstream image updates. Consider pinning to a specific version tag (or an image digest) and updating it deliberately when needed.

Suggested change
FROM mcr.microsoft.com/devcontainers/universal:latest
FROM mcr.microsoft.com/devcontainers/universal:2.6.0

Copilot uses AI. Check for mistakes.
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