From ffff94f9ead2cc8609adcd8f29e698b2a8fa5341 Mon Sep 17 00:00:00 2001 From: Dinindu Senanayake Date: Sun, 28 Jul 2024 14:04:32 +1200 Subject: [PATCH] fix unzip destination path --- docker/Dockerfile | 2 +- submit.yml.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 1cbc84b..0539624 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -35,7 +35,7 @@ ENV LANG en_NZ.utf8 # download the required data into the container image and make sure permission are ok RUN wget -nv https://github.com/GenomicsAotearoa/introduction-to-shell/releases/download/2024-July/shell_data.zip \ -O /var/lib/shell_data.zip \ - && unzip /var/lib/shell_data.zip -C /var/lib \ + && unzip /var/lib/shell_data.zip -d /var/lib \ && rm -f /var/lib/shell_data.zip \ && chown -R root:root /var/lib/shell_data \ && chmod -R o+rX /var/lib/shell_data diff --git a/submit.yml.erb b/submit.yml.erb index 1016e77..dddfa86 100644 --- a/submit.yml.erb +++ b/submit.yml.erb @@ -17,7 +17,7 @@ script: native: container: name: "introshell" - image: "ghcr.io/nesi/training-environment-jupyter-introduction-shell-app:v0.2.0" + image: "ghcr.io/nesi/training-environment-jupyter-introduction-shell-app:v0.3.0" command: ["/bin/bash","-l","<%= staged_root %>/job_script_content.sh"] working_dir: "<%= Etc.getpwnam(ENV['USER']).dir %>" restart_policy: 'OnFailure'