Skip to content

Instantly share code, notes, and snippets.

@metaskills
Created September 16, 2021 12:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save metaskills/ed160ccd721daa4c49e09ed17b88fb01 to your computer and use it in GitHub Desktop.
Save metaskills/ed160ccd721daa4c49e09ed17b88fb01 to your computer and use it in GitHub Desktop.
Part of Custom Ink's `strap-codespaces` repo. Install Docker.
#!/bin/sh
set -e
if ! [ -x "$(command -v docker)" ]; then
echo "== [Custom Ink Strap Codespaces] installing 'docker' and 'docker-compose'... =="
URL="https://raw.githubusercontent.com/microsoft/vscode-dev-containers/main/script-library/docker-in-docker-debian.sh"
curl -s $URL | sudo bash /dev/stdin 1> /dev/null
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment