Skip to content

Instantly share code, notes, and snippets.

# A quick little sshd dockerfile for dockerbot's shell function
FROM ubuntu:14.04
RUN apt-get update && apt-get install -y openssh-server
RUN mkdir /var/run/sshd
# Set a root password here, or create additional accounts for SSH access.
RUN echo 'root:password' | chpasswd
# Permit root logins via SSHd conf.
FROM dockerfile/ubuntu
RUN echo "deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen" >> /etc/apt/sources.list.d/mongodb.list
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10
RUN DEBIAN_FRONTEND=noninteractive sudo apt-get -y update && DEBIAN_FRONTEND=noninteractive apt-get -y install htop unzip ufw munin-node mongodb-10gen=2.4.6 libyaml-dev python2.7 python2.7-dev python-setuptools build-essential python-optcomplete python-pip fabric sysstat fail2ban emacs
FROM dockerfile/ubuntu
RUN apt-get update && apt-get install docker
@dkoppel
dkoppel / Dockerfile
Created February 3, 2015 22:42
talk on zmq/thingsbus
# Pull base image.
FROM dockerfile/python
# Install Python requirements
RUN \
apt-get update && \
apt-get install -y libzmq-dev && \
pip install pyzmq
COPY zmqtalk.py /data/
@dkoppel
dkoppel / gist:17dea7e11b0b086d0839
Created December 19, 2014 07:08
Parse markdown files from the CLI with this bash function
gfm() { a=$(cat); curl -X POST -H "content-type: text/plain" -s -d "$a" https://api.github.com/markdown/raw; }

Keybase proof

I hereby claim:

  • I am dkoppel on github.
  • I am kuroishi (https://keybase.io/kuroishi) on keybase.
  • I have a public key whose fingerprint is AA5E 0C91 36A3 FBEB 2A45 E0DF 9CB9 2D4D 7198 60BE

To claim this, I am signing this object: