diff --git a/Dockerfile b/Dockerfile index 4b039fc..1bbafb1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,10 +16,9 @@ RUN apt update -y && \ busybox \ netcat-openbsd \ procserv \ - wget \ $([ -n "$RUNTIME_PIP_PACKAGES" ] && echo pip) \ $RUNTIME_PACKAGES && \ - ln -s /bin/busybox /usr/bin/unzip && \ + busybox --install && \ apt clean && \ rm -rf /var/lib/apt/lists/* diff --git a/base/lnls-get-n-unpack.sh b/base/lnls-get-n-unpack.sh index c1779d6..f14470f 100755 --- a/base/lnls-get-n-unpack.sh +++ b/base/lnls-get-n-unpack.sh @@ -18,7 +18,7 @@ for url; do download_dir=$(mktemp -d) echo Downloading "$url"... - wget -P $download_dir -o /tmp/wget.log "$url" || (cat /tmp/wget.log && false) + wget -P $download_dir "$url" &> /tmp/wget.log || (cat /tmp/wget.log && false) filename=$(basename $download_dir/*)