Skip to content

Instantly share code, notes, and snippets.

@sustr4
Last active February 25, 2020 12:20
Show Gist options
  • Save sustr4/10f334fa58c22907ec6bc6c97f827469 to your computer and use it in GitHub Desktop.
Save sustr4/10f334fa58c22907ec6bc6c97f827469 to your computer and use it in GitHub Desktop.
Replicate Travis-ci
export BUILDID="build-14688"
export INSTANCE="travisci/ci-sardonyx:packer-1576238197-60d50014"
sudo docker run --name $BUILDID -dit $INSTANCE /sbin/init
sudo docker exec -it $BUILDID bash -l
su - travis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment