Skip to content

Instantly share code, notes, and snippets.

@ekristen
Last active August 29, 2016 22:35
Show Gist options
  • Save ekristen/baafe1f0cf2cbf7e5ac465e6eceafe60 to your computer and use it in GitHub Desktop.
Save ekristen/baafe1f0cf2cbf7e5ac465e6eceafe60 to your computer and use it in GitHub Desktop.
Example of how to *not* construct your RUN instructions (for Medium)
FROM ubuntu
RUN apt-get update
RUN apt-get install -y wget sudo supervisor
RUN apt-get install -y python-software-properties
RUN apt-get update
RUN apt-get install -y openssh-server
EXPOSE 4505 4506
CMD ["/sbin/sshd"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment