This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
deb="$(mktemp --tmpdir build-deps-XXXXXXXXXX.deb)" | |
trap "rm -f '$deb'" EXIT | |
"$(dirname "$(readlink -f "$BASH_SOURCE")")/make-build-deps.sh" "$deb" | |
dpkg --unpack "$deb" | |
depsPackage="$(dpkg-deb -f "$deb" Package)" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
github.com/Sirupsen/logrus | |
github.com/docker/libcontainer/apparmor | |
github.com/docker/libcontainer/configs | |
github.com/docker/docker/pkg/ulimit | |
github.com/docker/docker/autogen/dockerversion | |
github.com/docker/docker/pkg/ioutils | |
github.com/docker/docker/pkg/promise | |
github.com/docker/docker/pkg/units | |
github.com/docker/docker/vendor/src/code.google.com/p/go/src/pkg/archive/tar | |
github.com/docker/docker/pkg/common |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commithash="$(git log -1 --shorthashwhateveritis)" | |
docker build -t "docker:$commithash" . | |
docker run -it --privileged -d --name "docker-$commithash" -p 2375 -P "docker:$commithash" bash -c 'hack/make.sh binary && exec bundles/docker-*/binary/docker -d -D -H tcp://0.0.0.0:2375' | |
port="$(docker inspect -f '{{index .NetworkSettings.Ports "2375/tcp" 0 "HostPort"}}' docker-$commithash)" | |
ip="${DOCKER_HOST#*://}" | |
ip="${ip%%:*}" | |
( | |
export DOCKER_HOST="tcp://$ip:$port" | |
# the rest as it is right now, blah blah blah ./hack/make.sh dynbinary test-integration-cli |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gpgv: Signature made Tue Mar 3 14:00:20 2015 MST using RSA key ID 46925553 | |
gpgv: Good signature from "Debian Archive Automatic Signing Key (7.0/wheezy) <[email protected]>" | |
dpkg: warning: parsing file '/var/lib/dpkg/status' near line 5 package 'dpkg': | |
missing description | |
dpkg: warning: parsing file '/var/lib/dpkg/status' near line 5 package 'dpkg': | |
missing architecture | |
Selecting previously unselected package base-passwd. | |
(Reading database ... 0 files and directories currently installed.) | |
Preparing to unpack .../base-passwd_3.5.37_amd64.deb ... | |
Unpacking base-passwd (3.5.37) ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ... | |
build: | |
./hack/generate-dockerfile.sh > Dockerfile | |
docker build -t docker . | |
# ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/gcc/content.md b/gcc/content.md | |
index 1397f19..2953720 100644 | |
--- a/gcc/content.md | |
+++ b/gcc/content.md | |
@@ -1,10 +1,6 @@ | |
# What is GCC? | |
-The GNU Compiler Collection (GCC) is a compiler system produced by the GNU | |
-Project that supports various programming languages. GCC is a key component of | |
-the GNU toolchain. The Free Software Foundation (FSF) distributes GCC under the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
str='docker run' | |
str+=' {{printf "--name=%q" .Name}}' | |
str+='{{if (eq .HostConfig.NetworkMode "bridge")}} {{printf "--hostname=%q" .Config.Hostname}}{{else}} {{printf "--net=%q" .HostConfig.NetworkMode}}{{end}}' | |
str+='{{if .Config.OpenStdin}} --interactive{{end}}' | |
str+='{{if .Config.Tty}} --tty{{end}}' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM tianon/frankendebian | |
#FROM debian:experimental | |
# https://wiki.debian.org/BuilddSetup | |
# "Configure apt (don't install recommends, no pdiffs)." | |
RUN { \ | |
echo 'APT::Install-Recommends 0;'; \ | |
echo 'Acquire::PDiffs "false";'; \ | |
} > /etc/apt/apt.conf.d/buildd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- buildroot.txt 2015-02-02 23:32:14.769309302 -0700 | |
+++ upstream.txt 2015-02-02 23:31:48.984899085 -0700 | |
@@ -1,32 +1,48 @@ | |
[ | |
[[ | |
+acpid | |
+add-shell | |
addgroup | |
adduser | |
-ar |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Dockerfile b/Dockerfile | |
index fc67592..ff25f25 100644 | |
--- a/Dockerfile | |
+++ b/Dockerfile | |
@@ -7,45 +7,48 @@ MAINTAINER "Carl Boettiger and Dirk Eddelbuettel" rocker-maintainers@eddelbuette | |
## Set a default user. Available via runtime flag `--user docker` | |
## Add user to 'staff' group, granting them write privileges to /usr/local/lib/R/site.library | |
-## User should also have & own a home directory (for rstudio or linked volumes to work properly). (could use adduser to create this automatically instead) | |
+## User should also have & own a home directory (for rstudio or linked volumes to work properly). |