mirror of https://github.com/docker/docs.git
Merge branch 'master' into builder_server-3
Conflicts: buildfile.go
This commit is contained in:
commit
79b3265ef1
30
FIXME
30
FIXME
|
@ -16,15 +16,21 @@ to put them - so we put them here :)
|
||||||
* Unify build commands and regular commands
|
* Unify build commands and regular commands
|
||||||
* Move source code into src/ subdir for clarity
|
* Move source code into src/ subdir for clarity
|
||||||
* Clean up the Makefile, it's a mess
|
* Clean up the Makefile, it's a mess
|
||||||
- docker buidl: show short IDs
|
* docker buidl: show short IDs
|
||||||
- docker build: on non-existent local path for ADD, don't show full absolute path on the host
|
* docker build: on non-existent local path for ADD, don't show full absolute path on the host
|
||||||
- mount into /dockerinit rather than /sbin/init
|
* mount into /dockerinit rather than /sbin/init
|
||||||
- docker tag foo REPO:TAG
|
* docker tag foo REPO:TAG
|
||||||
- use size header for progress bar in pull
|
* use size header for progress bar in pull
|
||||||
- Clean up context upload in build!!!
|
* Clean up context upload in build!!!
|
||||||
- Parallel pull
|
* Parallel pull
|
||||||
- Ensure /proc/sys/net/ipv4/ip_forward is 1
|
* Ensure /proc/sys/net/ipv4/ip_forward is 1
|
||||||
- Force DNS to public!
|
* Force DNS to public!
|
||||||
- Always generate a resolv.conf per container, to avoid changing resolv.conf under thne container's feet
|
* Always generate a resolv.conf per container, to avoid changing resolv.conf under thne container's feet
|
||||||
- Save metadata with import/export
|
* Save metadata with import/export
|
||||||
- Upgrade dockerd without stopping containers
|
* Upgrade dockerd without stopping containers
|
||||||
|
* bring back git revision info, looks like it was lost
|
||||||
|
* Simple command to remove all untagged images
|
||||||
|
* Simple command to clean up containers for disk space
|
||||||
|
* Caching after an ADD
|
||||||
|
* entry point config
|
||||||
|
* bring back git revision info, looks like it was lost
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -46,6 +46,7 @@ whichrelease:
|
||||||
|
|
||||||
release: $(BINRELEASE)
|
release: $(BINRELEASE)
|
||||||
s3cmd -P put $(BINRELEASE) s3://get.docker.io/builds/`uname -s`/`uname -m`/docker-$(RELEASE_VERSION).tgz
|
s3cmd -P put $(BINRELEASE) s3://get.docker.io/builds/`uname -s`/`uname -m`/docker-$(RELEASE_VERSION).tgz
|
||||||
|
s3cmd -P put docker-latest.tgz s3://get.docker.io/builds/`uname -s`/`uname -m`/docker-latest.tgz
|
||||||
|
|
||||||
srcrelease: $(SRCRELEASE)
|
srcrelease: $(SRCRELEASE)
|
||||||
deps: $(DOCKER_DIR)
|
deps: $(DOCKER_DIR)
|
||||||
|
@ -60,6 +61,7 @@ $(SRCRELEASE):
|
||||||
$(BINRELEASE): $(SRCRELEASE)
|
$(BINRELEASE): $(SRCRELEASE)
|
||||||
rm -f $(BINRELEASE)
|
rm -f $(BINRELEASE)
|
||||||
cd $(SRCRELEASE); make; cp -R bin docker-$(RELEASE_VERSION); tar -f ../$(BINRELEASE) -zv -c docker-$(RELEASE_VERSION)
|
cd $(SRCRELEASE); make; cp -R bin docker-$(RELEASE_VERSION); tar -f ../$(BINRELEASE) -zv -c docker-$(RELEASE_VERSION)
|
||||||
|
cd $(SRCRELEASE); cp -R bin docker-latest; tar -f ../docker-latest.tgz -zv -c docker-latest
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@rm -rf $(dir $(DOCKER_BIN))
|
@rm -rf $(dir $(DOCKER_BIN))
|
||||||
|
|
|
@ -27,5 +27,4 @@ run apt-get install -y -q devscripts
|
||||||
# Copy dockerbuilder files into the container
|
# Copy dockerbuilder files into the container
|
||||||
add . /src
|
add . /src
|
||||||
run cp /src/dockerbuilder /usr/local/bin/ && chmod +x /usr/local/bin/dockerbuilder
|
run cp /src/dockerbuilder /usr/local/bin/ && chmod +x /usr/local/bin/dockerbuilder
|
||||||
run cp /src/s3cfg /.s3cfg
|
|
||||||
cmd ["dockerbuilder"]
|
cmd ["dockerbuilder"]
|
||||||
|
|
|
@ -13,12 +13,10 @@ fi
|
||||||
|
|
||||||
export REVISION=$1
|
export REVISION=$1
|
||||||
|
|
||||||
if [ -z "$AWS_ID" ]; then
|
if [ -z "$AWS_ID" -o -z "$AWS_KEY" ]; then
|
||||||
echo "Warning: environment variable AWS_ID is not set. Won't upload to S3."
|
echo "Warning: either AWS_ID or AWS_KEY environment variable not set. Won't upload to S3."
|
||||||
fi
|
else
|
||||||
|
/bin/echo -e "[default]\naccess_key = $AWS_ID\nsecret_key = $AWS_KEY\n" > /.s3cfg
|
||||||
if [ -z "$AWS_KEY" ]; then
|
|
||||||
echo "Warning: environment variable AWS_KEY is not set. Won't upload to S3."
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$GPG_KEY" ]; then
|
if [ -z "$GPG_KEY" ]; then
|
||||||
|
@ -35,6 +33,9 @@ else
|
||||||
make release RELEASE_VERSION=$REVISION
|
make release RELEASE_VERSION=$REVISION
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Remove credentials from container
|
||||||
|
rm -f /.s3cfg
|
||||||
|
|
||||||
if [ -z "$NO_UBUNTU" ]; then
|
if [ -z "$NO_UBUNTU" ]; then
|
||||||
export PATH=`echo $PATH | sed 's#/usr/local/go/bin:##g'`
|
export PATH=`echo $PATH | sed 's#/usr/local/go/bin:##g'`
|
||||||
(cd packaging/ubuntu && make ubuntu)
|
(cd packaging/ubuntu && make ubuntu)
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
[default]
|
|
||||||
access_key = $AWS_ID
|
|
||||||
secret_key = $AWS_KEY
|
|
Loading…
Reference in New Issue