Skip to content

Instantly share code, notes, and snippets.

@KellyLSB
Last active January 1, 2016 02:29
Show Gist options
  • Save KellyLSB/8079486 to your computer and use it in GitHub Desktop.
Save KellyLSB/8079486 to your computer and use it in GitHub Desktop.
Docker.io Ubuntu Sources.list
FROM ubuntu
MAINTAINER "Kelly Becker (kbecker@kellybecker.me)"
# Basic provisioning
RUN apt-get install apt-utils wget nano curl openssh-server
RUN wget --no-check-certificate https://gist.github.com/KellyLSB/8079486/raw/4d2b2f8e9b609258ef4f72ef13a50effd3bb224b/sources.list -O /etc/apt/sources.list
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32 16126D3A3E5C1192
RUN apt-get update
RUN apt-get dist-upgrade -y
# Setup SSH
RUN mkdir -p /var/run/sshd
RUN /usr/sbin/sshd
RUN echo "admin" | passwd --stdin root
EXPOSE 22
deb http://us.archive.ubuntu.com/ubuntu/ precise main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ precise main restricted
deb http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted
deb http://us.archive.ubuntu.com/ubuntu/ precise universe
deb-src http://us.archive.ubuntu.com/ubuntu/ precise universe
deb http://us.archive.ubuntu.com/ubuntu/ precise-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates universe
deb http://us.archive.ubuntu.com/ubuntu/ precise multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise multiverse
deb http://us.archive.ubuntu.com/ubuntu/ precise-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates multiverse
deb http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu precise-security main restricted
deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
deb http://security.ubuntu.com/ubuntu precise-security universe
deb-src http://security.ubuntu.com/ubuntu precise-security universe
deb http://security.ubuntu.com/ubuntu precise-security multiverse
deb-src http://security.ubuntu.com/ubuntu precise-security multiverse
deb http://archive.canonical.com/ubuntu precise partner
deb-src http://archive.canonical.com/ubuntu precise partner
deb http://extras.ubuntu.com/ubuntu precise main
deb-src http://extras.ubuntu.com/ubuntu precise main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment