Skip to content

Instantly share code, notes, and snippets.

View keeb-zz's full-sized avatar

Nick Stinemates keeb-zz

View GitHub Profile
@crosbymichael
crosbymichael / Dockerfile
Last active January 8, 2022 13:47
Docker with supervisor
FROM ubuntu
RUN echo "deb http://archive.ubuntu.com/ubuntu precise main universe" > /etc/apt/sources.list
RUN apt-get update
RUN apt-get upgrade
RUN apt-get install -y openssh-server supervisor
ADD sshd.conf /etc/supervisor/conf.d/sshd.conf
RUN mkdir -p /var/run/sshd
@crosbymichael
crosbymichael / notification.go
Last active June 2, 2018 15:03
Programatic events for docker
package main
import (
"encoding/json"
"io"
"log"
"net/http"
)
type Event struct {