Skip to content

Instantly share code, notes, and snippets.

@hostmaster
Last active August 8, 2019 11:07
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 hostmaster/84ba9bb998918be2d29f0d5660bec1af to your computer and use it in GitHub Desktop.
Save hostmaster/84ba9bb998918be2d29f0d5660bec1af to your computer and use it in GitHub Desktop.
container:
image: debian:stretch-slim
options: "--name ci-container -v /usr/bin/docker:/tmp/docker:ro"
steps:
- script: |
/tmp/docker exec -t -u 0 ci-container \
sh -c "apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confold" -y install sudo"
displayName: Set up sudo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment