Use `J` tar flag for extracting `.tar.xz`

When making `docker-image`

Ubuntu 18 fails to build the image unless tar is invoked with the capital J
This commit is contained in:
Philip Kuryloski 2020-03-16 11:50:04 +01:00 committed by GitHub
parent 1695862c64
commit 5be133f49e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -357,7 +357,7 @@ $(PACKAGES_DIR)/rabbitmq-server-generic-unix-$(PROJECT_VERSION).tar.xz:
OTP_VERSION := 22.2.8
OTP_SHA256 := 71f73ddd59db521928a0f6c8d4354d6f4e9f4bfbd0b40d321cd5253a6c79b095
docker-image: $(PACKAGES_DIR)/rabbitmq-server-generic-unix-$(PROJECT_VERSION).tar.xz
$(verbose) (cd PACKAGES && tar xjvf rabbitmq-server-generic-unix-$(PROJECT_VERSION).tar.xz) \
$(verbose) (cd PACKAGES && tar xJvf rabbitmq-server-generic-unix-$(PROJECT_VERSION).tar.xz) \
&& docker build --pull \
--build-arg PGP_KEYSERVER=pgpkeys.uk \
--build-arg OTP_VERSION=$(OTP_VERSION) \