Convert script shebangs from "#!/bin/bash" to "#!/usr/bin/env bash"
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
set -e
cd "$(dirname "$(readlink -f "$BASH_SOURCE")")"
# This file is used to auto-generate Dockerfiles for making debs via 'make deb'
# usage: ./generate.sh [versions]
# vim: set ts=4 sw=4 noet :
#
# bash completion file for core docker commands
# This script installs the bundle to Docker Machine instances, for the purpose
# of testing the latest Docker with Swarm mode enabled.
# hello-world latest ef872312fe1b 3 months ago 910 B
set -eo pipefail
# This script generates a gitdm compatible email aliases file from a git
dir="$1"
cd "$(dirname "$BASH_SOURCE")/../.."
@@ -1029,7 +1029,7 @@ the final executable receives the Unix signals by using `exec` and `gosu`
commands:
```bash
if [ "$1" = 'postgres' ]; then
# DinD: a wrapper script which allows docker to be run inside a docker container.
cd "$(dirname "$(readlink -f "$BASH_SOURCE")")/.."
BINARY_NAME="$BINARY_SHORT_NAME-$VERSION"
DOCKER_CLIENT_BINARY_NAME='docker'
DOCKER_DAEMON_BINARY_NAME='dockerd'
docker-version-osarch() {
if ! docker inspect -t image emptyfs &> /dev/null; then
rm -rf autogen
bundle .detect-daemon-osarch
# see test-integration-cli for example usage of this script
if [ ! "$(go env GOOS)" = 'windows' ]; then
trap - EXIT # reset EXIT trap applied in .integration-daemon-start
: ${TEST_REPEAT:=0}
rm -rf "$DEST"
[ -z "$KEEPDEST" ] && \
# subshell so that we can export PATH and TZ without breaking other things
# This script cleans the experimental pool for the apt repo.
# This script cleans the experimental pool for the yum repo.
bundle_cover() {
# explicit list of os/arch combos that support being a daemon
# This script exists as backwards compatibility for CI
(
# This script generates index files for the directory structure
# This script modifies the install.sh script for domains and keys other than
# This script creates the apt repos for the .deb files generated by hack/make/build-deb
# This script creates the yum repos for the .rpm files generated by hack/make/build-rpm
# This script signs the deliverables from release-deb and release-rpm
# with a designated GPG key.
# This script is used for testing install.sh and that it works for
# each of component of our apt and yum repos
source hack/make/.integration-test-helpers
bundle .integration-daemon-start
bundle .integration-daemon-setup
versions=( 1.3.3 1.4.1 1.5.0 1.6.2 )
# Run Docker's test suite, including sub-packages, and store their output as a bundle
CROSS="$DEST/../cross"
PKGVERSION="${VERSION//-/'~'}"
# if we have a "-dev" suffix or have change in Git, let's make this package version more complex so it works better
# This script updates the apt repo in $DOCKER_RELEASE_DIR/apt/repo.
set -e -o pipefail
# Run all validation
changelogFile=${1:-CHANGELOG.md}
export SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source "${SCRIPTDIR}/.validate"
# Run default validation, exclude vendor because it's slow
# Make sure we're not using gos' Testing package any more in integration-cli
# This file is just wrapper around vndr (github.com/LK4D4/vndr) tool.
# For updating dependencies you should change `vendor.conf` file in root of the
# Generate man pages for docker/docker
# get into this script's directory