From d7841a48c10e5b6c6050e887f98824b6bc344b4c Mon Sep 17 00:00:00 2001 From: Dominik Meyer Date: Fri, 12 Apr 2024 09:17:29 +0200 Subject: [PATCH] FIX: ensure always same top level unpack name --- fpm/Containerfile | 2 +- nginx/Containerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fpm/Containerfile b/fpm/Containerfile index 41fc7bd..8e636ed 100644 --- a/fpm/Containerfile +++ b/fpm/Containerfile @@ -2,7 +2,7 @@ FROM alpine:latest as builder RUN apk update && apk add --no-cache bash ca-certificates RUN wget -O wikindx.tar.bz2 https://master.dl.sourceforge.net/project/wikindx/6.9.0/wikindx_6.9.0.tar.bz2 -RUN tar jxf wikindx.tar.bz2 +RUN mkdir wikindx; tar jxf wikindx.tar.bz2 -C wikindx --strip-components 1 FROM alpine:latest diff --git a/nginx/Containerfile b/nginx/Containerfile index e6319ae..151daba 100644 --- a/nginx/Containerfile +++ b/nginx/Containerfile @@ -2,7 +2,7 @@ FROM alpine:latest as builder RUN apk update && apk add --no-cache bash ca-certificates RUN wget -O wikindx.tar.bz2 https://master.dl.sourceforge.net/project/wikindx/6.9.0/wikindx_6.9.0.tar.bz2 -RUN tar jxf wikindx.tar.bz2 +RUN mkdir wikindx; tar jxf wikindx.tar.bz2 -C wikindx --strip-components 1 FROM alpine:latest