Skip to content

Instantly share code, notes, and snippets.

@jmmills
Created July 30, 2015 22:34
Show Gist options
  • Select an option

  • Save jmmills/dd9498b17ab94871bbcb to your computer and use it in GitHub Desktop.

Select an option

Save jmmills/dd9498b17ab94871bbcb to your computer and use it in GitHub Desktop.
Update ubuntu docker images apt repos to speed up builds
docker run ubuntu /bin/bash -c 'apt-get update 2>&1 >/dev/null && hostname' | docker commit $(xargs) ubuntu:latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment