-
Notifications
You must be signed in to change notification settings - Fork 38
chore: standardize Docker base images to approved platform images #9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| # Standardized to approved base image | ||
| FROM ubuntu:22.04 | ||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ℹ️ Info: Updated from Key differences:
What changed:
👀 Review: Check if your devcontainer.json has |
||
|
|
||
| # use this Dockerfile to install additional tools you might need, e.g. | ||
| # RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ | ||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ✅ Good news: The ℹ️ Info: Common packages you might need to install for dev container functionality: RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
&& apt-get -y install --no-install-recommends \
git \
curl \
wget \
ca-certificates \
sudo \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
RUN useradd -m -s /bin/bash vscode \
&& echo "vscode ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/vscode \
&& chmod 0440 /etc/sudoers.d/vscode |
||
| # && apt-get -y install --no-install-recommends <your-package-list-here> | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📋 Overview: This Dockerfile has been updated to use the approved
ubuntu:22.04base image instead of Microsoft's dev container base.Testing checklist:
Note: The devcontainer.json currently doesn't specify a
remoteUser, so it will default torootwith the new base image. This is different from the Microsoft base which defaulted to thevscodeuser.