Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM mcr.microsoft.com/devcontainers/base:ubuntu-24.04
Copy link
Author

Choose a reason for hiding this comment

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

⚠️ Check: The Microsoft devcontainer base image includes many pre-installed tools that the vanilla Ubuntu image does not:

Pre-installed in devcontainer base (now missing):

  • git, sudo, wget, vim, less, jq, openssh-client
  • Non-root vscode user with passwordless sudo
  • Common shell utilities and development tools

Action required: If your workflow depends on any of these tools, add them explicitly to the Dockerfile. For example:

RUN apt-get update && apt-get install -y git sudo vim && rm -rf /var/lib/apt/lists/*

# Standardized to approved base image (ubuntu:22.04 instead of ubuntu-24.04 devcontainer base)
FROM ubuntu:22.04
Copy link
Author

Choose a reason for hiding this comment

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

ℹ️ Info: Updated from mcr.microsoft.com/devcontainers/base:ubuntu-24.04 to ubuntu:22.04.

Key differences:

  • The Microsoft devcontainer base includes pre-installed tools (git, sudo, common utilities) and a non-root user setup
  • The official ubuntu:22.04 is a minimal base that requires explicit installation of these tools
  • Ubuntu 24.04 → 22.04 is a downgrade to the LTS version for stability

Why this works:

  • Both are Debian-based (apt package manager compatibility)
  • The Dockerfile already installs all required tools explicitly
  • No reliance on devcontainer-specific features


# use this Dockerfile to install additional tools you might need, e.g.
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
Expand Down