Skip to content

Instantly share code, notes, and snippets.

View tianon's full-sized avatar
♥️
TIANON

Tianon Gravi tianon

♥️
TIANON
View GitHub Profile
@tianon
tianon / .godir
Last active August 29, 2015 14:06
first pass at a raw DNS interface to Docker
github.com/tianon/rawdns
(print "hello")
(print "hyfriends!")
@tianon
tianon / apt-wtf.sh-session
Last active August 29, 2015 14:05
Why you no remove these 7 packages, APT???
$ docker run -it --rm debian:wheezy bash
root@9ea67f28938b:/# apt-get update && apt-get install -y curl --no-install-recommends
...
The following extra packages will be installed:
libcurl3 libgcrypt11 libgnutls26 libgpg-error0 libgssapi-krb5-2 libidn11
libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2
libp11-kit0 librtmp0 libsasl2-2 libssh2-1 libssl1.0.0 libtasn1-3
Suggested packages:
rng-tools krb5-doc krb5-user
Recommended packages:
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
$ 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
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
#!/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
package main
import (
"flag"
"fmt"
"io"
"io/ioutil"
"log"
"os"
"strings"
@tianon
tianon / Dockerfile
Last active August 29, 2015 14:04
strange "apt-get install" behavior stumping me
FROM debian:sid
RUN apt-get update && apt-get install -y ca-certificates --no-install-recommends
@tianon
tianon / output.txt
Created July 1, 2014 22:21
"docker pull" from cron
+ docker pull debian
Pulling repository debian