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
package main | |
import ( | |
"fmt" | |
"github.com/docker/machine/libmachine/drivers" | |
"github.com/docker/machine/libmachine/engine" | |
"github.com/docker/machine/libmachine/mcnflag" | |
"github.com/docker/machine/libmachine/state" | |
) |
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 | |
usage() { | |
local s="$(basename "$0")" | |
echo "usage: $s [identity] [file]" | |
echo " ie: $s [email protected] ~/some-secret-file.asc" | |
} | |
identity="$1"; shift || { usage >&2; exit 1; } |
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 | |
dir="$(mktemp -d)" | |
trap "rm -rf '$dir'" EXIT | |
git clone --depth 1 https://github.com/docker-library/official-images.git "$dir" | |
"$dir/bashbrew/bashbrew.sh" list --all | xargs -rtn1 docker pull |
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
1.0 |
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 -eu | |
# https://gist.github.com/tianon/a0080cbca558e4b907fe | |
suite="${1:-}" | |
shift || { echo >&2 "usage: $0 suite [arch]"; exit 1; } | |
targetSuite="$suite" | |
case "$targetSuite" in |
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 debian:sid | |
RUN apt-get update && apt-get install -y --no-install-recommends \ | |
debian-keyring \ | |
devscripts \ | |
dpkg-dev \ | |
wget \ | |
&& rm -rf /var/lib/apt/lists/* | |
ENV DEBFULLNAME 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/hack/.vendor-helpers.sh b/hack/.vendor-helpers.sh | |
index 1d4674b..54ce6bb 100755 | |
--- a/hack/.vendor-helpers.sh | |
+++ b/hack/.vendor-helpers.sh | |
@@ -98,7 +98,10 @@ clean() { | |
unset IFS | |
echo -n 'pruning unused packages, ' | |
- findArgs=() | |
+ findArgs=( |
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 debian:jessie | |
RUN <<EOI | |
set -e | |
apt-get update | |
apt-get install -y \ | |
package \ | |
package \ | |
package | |
EOI |
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 debian:jessie | |
# pub 4096R/FA1BE5FE 2013-09-26 | |
# Key fingerprint = 108F 6620 5EAE B0AA A8DD 5E1C 85AB 96E6 FA1B E5FE | |
# uid Rust Language (Tag and Release Signing Key) <[email protected]> | |
RUN gpg --keyserver ha.pool.sks-keyservers.net --recv-keys 108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE | |
ENV RUST_VERSION 1.0.0 | |
RUN set -x \ |
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 | |
# https://gist.github.com/tianon/92ebbd1793864b9586bc | |
cd "$(dirname "$(readlink -f "$BASH_SOURCE")")" | |
hackVendor="$(< hack/vendor.sh)" | |
if [ "$1" ]; then | |
hackVendor="$(git show "$1":hack/vendor.sh)" |