Skip to content

Commit

Permalink
Extract gzipped tar file correctly (31z4#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
Duncan Schulze authored and 31z4 committed May 31, 2018
1 parent a652774 commit 2ac61a0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions 3.5.4-beta/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ RUN set -ex; \
gpg --keyserver pgp.mit.edu --recv-keys "$GPG_KEY" || \
gpg --keyserver keyserver.pgp.com --recv-keys "$GPG_KEY"; \
gpg --batch --verify "$DISTRO_NAME.tar.gz.asc" "$DISTRO_NAME.tar.gz"; \
# TODO: the distribution given by apache is not gzipped correctly - unzip correctly when fixed
tar -xf "$DISTRO_NAME.tar.gz"; \
tar -zxf "$DISTRO_NAME.tar.gz"; \
mv "$DISTRO_NAME/conf/"* "$ZOO_CONF_DIR"; \
rm -rf "$GNUPGHOME" "$DISTRO_NAME.tar.gz" "$DISTRO_NAME.tar.gz.asc"; \
apk del .build-deps; \
Expand Down

0 comments on commit 2ac61a0

Please sign in to comment.