-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Aded manpages (posix, posix-dev, dev) to common-debian.sh #779
Aded manpages (posix, posix-dev, dev) to common-debian.sh #779
Conversation
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.
Generally looks right, but there's a few key things here since this script can be run for Ubuntu and Debian... this is one case where there's some subtle differences that are important.
containers/codespaces-linux/.devcontainer/library-scripts/common-debian.sh
Outdated
Show resolved
Hide resolved
containers/codespaces-linux/.devcontainer/library-scripts/common-debian.sh
Outdated
Show resolved
Hide resolved
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.
I got pulled into meetings but I hit a couple of issues when trying the "debian" definition. I'll type up more on how I think we can resolve it with sed
in a bit. (EDIT: I've since added the sed
idea in the related inline comment.)
BTW - A simple way to copy scripts to everything is to run the following from the vscode-dev-containers repo.
yarn install
build/vscdc copy-library-scripts
This is what CI does and will copy whatever is in the script-library folder to all definitions that use the script. You can then just open containers/debian
or containers/ubuntu
in Remote - Containers to test.
containers/codespaces-linux/.devcontainer/library-scripts/common-debian.sh
Outdated
Show resolved
Hide resolved
containers/codespaces-linux/.devcontainer/library-scripts/common-debian.sh
Outdated
Show resolved
Hide resolved
@samruddhikhandale This looks good! Last nit: I think we can drop the arguments for the definitions for the Oh My and the free packages flags. That would show up in the VS Code "Add Dev Container Config" UX which is going to confuse the average developer. The main place I want to be sensitive to is those using the script for their own images given there will be some that want to stick with Debian "free" packages only. We can just do |
I see. Made the changes. |
Closed previously by mistake :) |
LGTM! Merging |
Fixes: Add manpages, manpages-posix to C++ and kitchen sink, possibly other images
Added following packages to common-debian.sh