diff --git a/Dockerfile b/Dockerfile index cc6771e..ac43e3c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,16 @@ FROM bcgovimages/von-image:node-1.12-6 +ARG user=indy ARG LOG_LEVEL=info ARG RUST_LOG=warning ENV LOG_LEVEL=$LOG_LEVEL ENV RUST_LOG=$RUST_LOG +USER root +RUN apt-get update -y && \ + apt-get install -y \ + xz-utils +USER $user + ADD config ./config ADD server/requirements.txt server/ diff --git a/manage b/manage index 748a642..ab32534 100755 --- a/manage +++ b/manage @@ -731,7 +731,7 @@ function restoreArchive() --user root \ -v ${archiveVolumeMount}:/${ROOT_BACKUP_DIR} \ -v ${volume}:/target_volume von-network-base \ - tar --same-owner -xzvpf ${archiveToRestore} -C /target_volume/ ${tarOptions} + tar --same-owner -xvpf ${archiveToRestore} -C /target_volume/ ${tarOptions} else echo -e \\n"Restore aborted." fi