aboutsummaryrefslogtreecommitdiff
path: root/src/docker-in-docker/install.sh
diff options
context:
space:
mode:
authorJosh Spicer <joshspicer@github.com>2022-07-30 19:23:15 +0300
committerGitHub <noreply@github.com>2022-07-30 19:23:15 +0300
commit022a57ef4a94e4b2b3b64f0dd9e8f625b8a1f3ff (patch)
tree599ed91e47a44c3d2f0aa1b9fabdb3fa25f6888e /src/docker-in-docker/install.sh
parent7b13e1601f2a56a7872eb695bb4223a0ea383916 (diff)
port change https://github.com/microsoft/vscode-dev-containers/pull/1558
Diffstat (limited to 'src/docker-in-docker/install.sh')
-rwxr-xr-xsrc/docker-in-docker/install.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/docker-in-docker/install.sh b/src/docker-in-docker/install.sh
index 02dd260..3cd20b8 100755
--- a/src/docker-in-docker/install.sh
+++ b/src/docker-in-docker/install.sh
@@ -236,6 +236,8 @@ else
apt-get -y install --no-install-recommends moby-compose || err "Package moby-compose (Docker Compose v2) not available for OS ${ID} ${VERSION_CODENAME} (${architecture}). Skipping."
else
apt-get -y install --no-install-recommends docker-ce-cli${cli_version_suffix} docker-ce${engine_version_suffix}
+ # Install compose
+ 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."
fi
fi
@@ -395,4 +397,4 @@ EOF
chmod +x /usr/local/share/docker-init.sh
chown ${USERNAME}:root /usr/local/share/docker-init.sh
-echo 'docker-in-docker-debian script has completed!' \ No newline at end of file
+echo 'docker-in-docker-debian script has completed!'