From b9eedaee93569ac3976979cebeb3ba6f67accdf2 Mon Sep 17 00:00:00 2001 From: Kevin Whitaker Date: Sat, 3 Jan 2026 11:50:59 -0500 Subject: [PATCH] use tar and strip first dir --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 338a7a1..69f1e7e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,13 +31,12 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ liblzma-dev \ libncurses5-dev \ libncursesw5-dev \ - unzip \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* # Clone release RUN wget https://github.com/rommapp/romm/archive/refs/tags/$VERSION.zip && \ -unzip $VERSION.zip -d /app/code && rm $VERSION.zip +tar xfz $VERSION.zip --strip-components=1 -C /app/code && rm $VERSION.zip # Install nvm ENV NVM_DIR="/root/.nvm"