File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ check_packages() {
6868
6969export DEBIAN_FRONTEND=noninteractive
7070
71- check_packages curl ca-certificates gnupg2 dirmngr unzip bash-completion
71+ check_packages curl ca-certificates gnupg2 dirmngr unzip bash-completion less
7272
7373verify_aws_cli_gpg_signature () {
7474 local filePath=$1
Original file line number Diff line number Diff line change 312312 else
313313 apt-get -y install --no-install-recommends docker-ce-cli${cli_version_suffix} docker-ce${engine_version_suffix}
314314 # Install compose
315+ apt-mark hold docker-ce docker-ce-cli
315316 apt-get -y install --no-install-recommends docker-compose-plugin || echo " (*) Package docker-compose-plugin (Docker Compose v2) not available for OS ${ID} ${VERSION_CODENAME} (${architecture} ). Skipping."
316317 fi
317318fi
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -e
4+
5+ # Import test library for `check` command
6+ source dev-container-features-test-lib
7+
8+ check " less is installed, pagination works !" less --version
9+ check " less binary installation path" which less
10+ check " Testing paginated output with less" ls -R / | less
11+
12+ # Report result
13+ reportResults
Original file line number Diff line number Diff line change 1+ {
2+ "less_installed" : {
3+ "image" : " mcr.microsoft.com/devcontainers/base:ubuntu" ,
4+ "features" : {
5+ "aws-cli" : {}
6+ }
7+ }
8+ }
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # Optional: Import test library
4+ source dev-container-features-test-lib
5+
6+ check " docker-ce" bash -c " docker --version"
7+ check " docker-ce-cli" bash -c " docker version"
8+
9+ # report result
10+ reportResults
Original file line number Diff line number Diff line change 142142 }
143143 }
144144 },
145+ "pin_docker-ce_version_moby_false" : {
146+ "image" : " mcr.microsoft.com/devcontainers/base:debian" ,
147+ "features" : {
148+ "docker-in-docker" : {
149+ "version" : " 26.1.4" ,
150+ "moby" : " false" ,
151+ "mobyBuildxVersion" : " latest" ,
152+ "dockerDashComposeVersion" : " none" ,
153+ "azureDnsAutoDetection" : " true" ,
154+ "dockerDefaultAddressPool" : " " ,
155+ "installDockerBuildx" : " true" ,
156+ "installDockerComposeSwitch" : " true" ,
157+ "disableIp6tables" : " false"
158+ }
159+ }
160+ },
145161 // DO NOT REMOVE: This scenario is used by the docker-in-docker-stress-test workflow
146162 "docker_with_on_create_command" : {
147163 "image" : " mcr.microsoft.com/devcontainers/base:debian" ,
You can’t perform that action at this time.
0 commit comments