-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add some missing dependencies in the Dockerfile: - apt-utils for apt-ftparchive.conf - bsdmainutils for our use of the column command in hack/make/generate-index-listing We also ensure that the docker daemon is started before calling release-deb or release-rpm, since .detect-daemon-osarch, which is sourced in each of them, requires the daemon to be running. This commit also gets completely rid of s3cmd and fixes references to AWS_* environment variables (changing from AWS_ACCESS_KEY to AWS_ACCESS_KEY_ID and AWS_SECRET_KEY to AWS_SECRET_ACCESS_KEY) in order to please awscli. Also AWS_DEFAULT_REGION is now important to specify, the default has been set to the region used by get.docker.com and test.docker.com. Signed-off-by: Tibor Vass <[email protected]>
- Loading branch information
Tibor Vass
committed
Mar 25, 2016
1 parent
e80f836
commit 996138b
Showing
8 changed files
with
21 additions
and
25 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,9 +38,11 @@ RUN echo deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty main > /etc/apt/s | |
# Packaged dependencies | ||
RUN apt-get update && apt-get install -y \ | ||
apparmor \ | ||
apt-utils \ | ||
aufs-tools \ | ||
automake \ | ||
bash-completion \ | ||
bsdmainutils \ | ||
btrfs-tools \ | ||
build-essential \ | ||
clang-3.8 \ | ||
|
@@ -64,12 +66,12 @@ RUN apt-get update && apt-get install -y \ | |
python-mock \ | ||
python-pip \ | ||
python-websocket \ | ||
s3cmd=1.5.0* \ | ||
ubuntu-zfs \ | ||
xfsprogs \ | ||
libzfs-dev \ | ||
tar \ | ||
--no-install-recommends \ | ||
&& pip install awscli==1.10.15 \ | ||
&& ln -snf /usr/bin/clang-3.8 /usr/local/bin/clang \ | ||
&& ln -snf /usr/bin/clang++-3.8 /usr/local/bin/clang++ | ||
|
||
|
@@ -187,13 +189,6 @@ RUN git clone https://github.com/docker/docker-py.git /docker-py \ | |
&& git checkout -q $DOCKER_PY_COMMIT \ | ||
&& pip install -r test-requirements.txt | ||
|
||
# Setup s3cmd config | ||
RUN { \ | ||
echo '[default]'; \ | ||
echo 'access_key=$AWS_ACCESS_KEY'; \ | ||
echo 'secret_key=$AWS_SECRET_KEY'; \ | ||
} > ~/.s3cfg | ||
|
||
# Set user.email so crosbymichael's in-container merge commits go smoothly | ||
RUN git config --global user.email '[email protected]' | ||
|
||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -136,13 +136,6 @@ RUN git clone https://github.com/docker/docker-py.git /docker-py \ | |
&& git checkout -q $DOCKER_PY_COMMIT \ | ||
&& pip install -r test-requirements.txt | ||
|
||
# Setup s3cmd config | ||
RUN { \ | ||
echo '[default]'; \ | ||
echo 'access_key=$AWS_ACCESS_KEY'; \ | ||
echo 'secret_key=$AWS_SECRET_KEY'; \ | ||
} > ~/.s3cfg | ||
|
||
# Set user.email so crosbymichael's in-container merge commits go smoothly | ||
RUN git config --global user.email '[email protected]' | ||
|
||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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