Skip to content

Instantly share code, notes, and snippets.

@hostmaster
Last active August 8, 2019 11:07
Show Gist options
  • Select an option

  • Save hostmaster/84ba9bb998918be2d29f0d5660bec1af to your computer and use it in GitHub Desktop.

Select an option

Save hostmaster/84ba9bb998918be2d29f0d5660bec1af to your computer and use it in GitHub Desktop.

Revisions

  1. hostmaster revised this gist Aug 8, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion azure-pipelines.yml
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    container:
    image: ros:dashing
    image: debian:stretch-slim
    options: "--name ci-container -v /usr/bin/docker:/tmp/docker:ro"

    steps:
  2. hostmaster created this gist Aug 8, 2019.
    9 changes: 9 additions & 0 deletions azure-pipelines.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    container:
    image: ros:dashing
    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