From 5be133f49eb60c2576571afd7aeaed36be866f86 Mon Sep 17 00:00:00 2001 From: Philip Kuryloski Date: Mon, 16 Mar 2020 11:50:04 +0100 Subject: [PATCH] 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 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7ddbaec563..f7a8bc768e 100644 --- a/Makefile +++ b/Makefile @@ -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) \