Browse code

Use gzip compression in Ubuntu packages to make it at least possible to install on Lucid.

Docker-DCO-1.1-Signed-off-by: Evan Krall <krall@yelp.com> (github: EvanKrall)

Evan Krall authored on 2014/01/10 12:12:56
Showing 2 changed files
... ...
@@ -72,7 +72,7 @@ RUN	cd /usr/local/go/src && bash -xc 'for platform in $DOCKER_CROSSPLATFORMS; do
72 72
 RUN	go get code.google.com/p/go.tools/cmd/cover
73 73
 
74 74
 # TODO replace FPM with some very minimal debhelper stuff
75
-RUN	gem install --no-rdoc --no-ri fpm --version 1.0.1
75
+RUN	gem install --no-rdoc --no-ri fpm --version 1.0.2
76 76
 
77 77
 # Setup s3cmd config
78 78
 RUN	/bin/echo -e '[default]\naccess_key=$AWS_ACCESS_KEY\nsecret_key=$AWS_SECRET_KEY' > /.s3cfg
... ...
@@ -123,7 +123,7 @@ EOF
123 123
 		    --config-files /etc/init/docker.conf \
124 124
 		    --config-files /etc/init.d/docker \
125 125
 		    --config-files /etc/default/docker \
126
-		    --deb-compression xz \
126
+		    --deb-compression gz \
127 127
 		    -t deb .
128 128
 		mkdir empty
129 129
 		fpm -s dir -C empty \
... ...
@@ -134,7 +134,7 @@ EOF
134 134
 		    --maintainer "$PACKAGE_MAINTAINER" \
135 135
 		    --url "$PACKAGE_URL" \
136 136
 		    --license "$PACKAGE_LICENSE" \
137
-		    --deb-compression xz \
137
+		    --deb-compression gz \
138 138
 		    -t deb .
139 139
 	)
140 140
 }