Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
2 changes: 1 addition & 1 deletion src/common-utils/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "common-utils",
"version": "2.5.3",
"version": "2.5.4",
Comment thread
AlvaroRausell marked this conversation as resolved.
Outdated
"name": "Common Utilities",
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/common-utils",
"description": "Installs a set of common command line utilities, Oh My Zsh!, and sets up a non-root user.",
Expand Down
2 changes: 1 addition & 1 deletion src/conda/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "conda",
"version": "1.0.10",
"version": "1.0.11",
"name": "Conda",
"description": "A cross-platform, language-agnostic binary package manager",
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/conda",
Expand Down
2 changes: 1 addition & 1 deletion src/docker-in-docker/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "docker-in-docker",
"version": "2.12.2",
"version": "2.12.3",
"name": "Docker (Docker-in-Docker)",
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/docker-in-docker",
"description": "Create child containers *inside* a container, independent from the host's docker instance. Installs Docker extension in the container along with needed CLIs.",
Expand Down
2 changes: 1 addition & 1 deletion src/docker-outside-of-docker/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "docker-outside-of-docker",
"version": "1.6.2",
"version": "1.6.3",
"name": "Docker (docker-outside-of-docker)",
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/docker-outside-of-docker",
"description": "Re-use the host docker socket, adding the Docker CLI to a container. Feature invokes a script to enable using a forwarded Docker socket within a container to run Docker commands.",
Expand Down
2 changes: 1 addition & 1 deletion src/git/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "git",
"version": "1.3.3",
"version": "1.3.4",
"name": "Git (from source)",
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/git",
"description": "Install an up-to-date version of Git, built from source as needed. Useful for when you want the latest and greatest features. Auto-detects latest stable version and installs needed dependencies.",
Expand Down
6 changes: 6 additions & 0 deletions src/git/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,12 @@ elif [ "${ADJUSTED_ID}" = "rhel" ]; then
if ! type curl > /dev/null 2>&1; then
check_packages curl
fi
if ! type cmp > /dev/null 2>&1; then
check_packages diffutils
fi
if ! type awk > /dev/null 2>&1; then
check_packages gawk
fi
if [ $ID = "mariner" ]; then
check_packages glibc-devel kernel-headers binutils
fi
Expand Down
2 changes: 1 addition & 1 deletion src/github-cli/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "github-cli",
"version": "1.0.14",
"version": "1.0.15",
"name": "GitHub CLI",
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/github-cli",
"description": "Installs the GitHub CLI. Auto-detects latest version and installs needed dependencies.",
Expand Down
2 changes: 1 addition & 1 deletion src/java/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "java",
"version": "1.6.3",
"version": "1.6.4",
"name": "Java (via SDKMAN!)",
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/java",
"description": "Installs Java, SDKMAN! (if not installed), and needed dependencies.",
Expand Down
2 changes: 1 addition & 1 deletion src/php/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "php",
"version": "1.1.4",
"version": "1.1.5",
"name": "PHP",
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/php",
"options": {
Expand Down
2 changes: 1 addition & 1 deletion src/python/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "python",
"version": "1.7.1",
"version": "1.7.2",
"name": "Python",
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/python",
"description": "Installs the provided version of Python, as well as PIPX, and other common Python utilities. JupyterLab is conditionally installed with the python feature. Note: May require source code compilation.",
Expand Down
2 changes: 1 addition & 1 deletion src/ruby/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "ruby",
"version": "1.3.1",
"version": "1.3.2",
"name": "Ruby (via rvm)",
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/ruby",
"description": "Installs Ruby, rvm, rbenv, common Ruby utilities, and needed dependencies.",
Expand Down
2 changes: 1 addition & 1 deletion src/rust/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "rust",
"version": "1.3.3",
"version": "1.3.4",
"name": "Rust",
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/rust",
"description": "Installs Rust, common Rust utilities, and their required dependencies",
Expand Down
4 changes: 2 additions & 2 deletions test/_global/scenarios.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"all_the_clis": {
"image": "ubuntu:focal",
"image": "ubuntu:noble",
"features": {
"aws-cli": {},
"azure-cli": {},
"github-cli": {}
}
},
"node_java_rust": {
"image": "ubuntu:focal",
"image": "ubuntu:noble",
"features": {
"node": {},
"java": {},
Expand Down
2 changes: 1 addition & 1 deletion test/common-utils/devcontainer-custom-home/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:focal
FROM ubuntu:noble

RUN groupadd customUser -g 30000 && \
useradd customUser -u 30000 -g 30000 --create-home --home-dir /customHome
8 changes: 7 additions & 1 deletion test/common-utils/devcontainer-info/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
FROM ubuntu:focal
FROM ubuntu:noble

COPY meta.env /usr/local/etc/dev-containers/meta.env

RUN if id "ubuntu" &>/dev/null; then \
echo "Deleting user 'ubuntu' for noble" && userdel -f -r ubuntu || echo "Failed to delete ubuntu user for noble"; \
else \
echo "User 'ubuntu' does not exist for noble"; \
fi
15 changes: 15 additions & 0 deletions test/common-utils/noble.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash

set -e

# Optional: Import test library
source dev-container-features-test-lib

# Definition specific tests
. /etc/os-release
check "non-root user" test "$(whoami)" = "devcontainer"
check "distro" test "${VERSION_CODENAME}" = "noble"

# Report result
reportResults

17 changes: 5 additions & 12 deletions test/common-utils/scenarios.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,18 @@
{
"bionic": {
"image": "ubuntu:bionic",
"remoteUser": "devcontainer",
"features": {
"common-utils": {}
}
},
"focal": {
"image": "ubuntu:focal",
"jammy": {
"image": "ubuntu:jammy",
"remoteUser": "devcontainer",
"features": {
"common-utils": {}
}
},
"jammy": {
"image": "ubuntu:jammy",
"noble": {
"image": "ubuntu:noble",
"remoteUser": "devcontainer",
"features": {
"common-utils": {}
}
},
},
"buster": {
"image": "debian:buster",
"remoteUser": "devcontainer",
Expand Down
2 changes: 1 addition & 1 deletion test/conda/scenarios.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"install_conda": {
"image": "ubuntu:focal",
"image": "ubuntu:noble",
"features": {
"conda": {
"version": "4.12.0",
Expand Down
2 changes: 1 addition & 1 deletion test/docker-in-docker/docker_specific_moby_buildx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -e
# Optional: Import test library
source dev-container-features-test-lib
# Definition specific tests
check "moby-buildx" bash -c "dpkg-query -W moby-buildx | grep -E '0.12.0'"
check "moby-buildx" bash -c "dpkg-query -W moby-buildx | grep -E '0.14.0'"

check "docker-buildx" bash -c "docker buildx version"
check "docker-buildx-path" bash -c "ls -la /usr/libexec/docker/cli-plugins/docker-buildx"
Expand Down
16 changes: 8 additions & 8 deletions test/docker-in-docker/scenarios.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"docker_build_fallback_compose": {
"image": "ubuntu:focal",
"image": "ubuntu:noble",
"features": {
"docker-in-docker": {
"version": "latest",
Expand All @@ -9,7 +9,7 @@
}
},
"dockerIp6tablesDisabledTest": {
"image": "ubuntu:focal",
"image": "ubuntu:noble",
"features": {
"docker-in-docker": {
"version": "27.0.3",
Expand Down Expand Up @@ -56,7 +56,7 @@
"remoteUser": "node"
},
"docker_build_2": {
"image": "ubuntu:focal",
"image": "ubuntu:noble",
"features": {
"docker-in-docker": {
"version": "latest",
Expand Down Expand Up @@ -106,7 +106,7 @@
}
},
"docker_compose_v1": {
"image": "mcr.microsoft.com/devcontainers/base:focal",
"image": "mcr.microsoft.com/devcontainers/base:noble",
"features": {
"docker-in-docker": {
"moby": true,
Expand All @@ -116,7 +116,7 @@
}
},
"docker_compose_v2": {
"image": "mcr.microsoft.com/devcontainers/base:focal",
"image": "mcr.microsoft.com/devcontainers/base:noble",
"features": {
"docker-in-docker": {
"moby": true,
Expand All @@ -126,7 +126,7 @@
}
},
"docker_build_fallback_buildx": {
"image": "ubuntu:focal",
"image": "ubuntu:noble",
"features": {
"docker-in-docker": {
"version": "latest",
Expand All @@ -135,10 +135,10 @@
}
},
"docker_specific_moby_buildx": {
"image": "ubuntu:focal",
"image": "ubuntu:noble",
"features": {
"docker-in-docker": {
"mobyBuildxVersion": "0.12.0"
"mobyBuildxVersion": "0.14.0"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -e
# Optional: Import test library
source dev-container-features-test-lib
# Definition specific tests
check "moby-buildx" bash -c "dpkg-query -W moby-buildx | grep -E '0.12.0'"
check "moby-buildx" bash -c "dpkg-query -W moby-buildx | grep -E '0.14.0'"

check "docker-buildx" bash -c "docker buildx version"
check "docker-buildx-path" bash -c "ls -la /usr/libexec/docker/cli-plugins/docker-buildx"
Expand Down
Loading