Skip to content

Instantly share code, notes, and snippets.

Avatar
♥️
TIANON

Tianon Gravi tianon

♥️
TIANON
View GitHub Profile
View dco.patch
diff --git a/DCO.md b/DCO.md
index c9cedee..5bfe198 100644
--- a/DCO.md
+++ b/DCO.md
@@ -1,11 +1,11 @@
-Docker Developer Certificate of Origin 1.1
+Developer's Certificate of Origin 1.1
-By making a contribution to the Docker Project ("Project"), I represent and warrant that:
+By making a contribution to this project, I certify that:
@tianon
tianon / Dockerfile
Last active Aug 29, 2015
Debian Potato Docker Base Image
View Dockerfile
FROM scratch
ADD rootfs.tar.xz /
CMD ["/bin/bash"]
@tianon
tianon / sed-xdg-user-dirs.sh
Last active Aug 29, 2015
fix stupid user-dirs.defaults
View sed-xdg-user-dirs.sh
sudo sed -ri 's/=.*/\L&/g; s/public$/public-share/; s/documents/docs/g; s/pictures/pics/g' /etc/xdg/user-dirs.defaults
xdg-user-dirs-update --force
@tianon
tianon / output.txt
Created Jul 1, 2014
"docker pull" from cron
View output.txt
+ docker pull debian
Pulling repository debian
@tianon
tianon / Dockerfile
Last active Aug 29, 2015
strange "apt-get install" behavior stumping me
View Dockerfile
FROM debian:sid
RUN apt-get update && apt-get install -y ca-certificates --no-install-recommends
View images-tree.go
package main
import (
"flag"
"fmt"
"io"
"io/ioutil"
"log"
"os"
"strings"
View get-busybox.sh
#!/bin/bash
set -e
cd "$(dirname "$(readlink -f "$BASH_SOURCE")")"
mkdir -p busybox
curl -sSL 'https://github.com/jpetazzo/docker-busybox/raw/buildroot-2013.08.1/rootfs.tar' | tar -xC busybox
View debian-golang-watch.patch
diff --git a/debian/watch b/debian/watch
index 9ae51be..49e969a 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,2 @@
version=3
-http://code.google.com/p/go/wiki/Downloads .*/go([0-9.]*)\.src\.tar\.gz
+http://golang.org/dl/ .*/go([0-9.]*)\.src\.tar\.gz
View docker-images-golang.sh-session
$ docker images golang
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
golang 1.3-onbuild 2926b85ca457 2 minutes ago 413.9 MB
golang 1.3-cross 14c1c7a7bd9c 5 minutes ago 1.812 GB
golang 1.3 0a615b2ecb6f 14 minutes ago 413.9 MB
View docker-gitignore.patch
diff --git a/.gitignore b/.gitignore
index 2a86e41..c169bd4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,28 +1,12 @@
# Docker project generated files to ignore
# if you want to ignore files created by your editor/tools,
-# please consider a global .gitignore https://help.github.com/articles/ignoring-files
-.vagrant*
+# please consider a global .gitignore
You can’t perform that action at this time.