Skip to content

Instantly share code, notes, and snippets.

@hostmaster
Last active August 8, 2019 11:07
Embed
What would you like to do?
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