From 60e41f5f096ddabe2f647298b86850c232040093 Mon Sep 17 00:00:00 2001 From: meliurwen Date: Tue, 8 Mar 2022 13:10:12 +0100 Subject: [PATCH] Some corrections --- Dockerfile | 3 --- src/main.sh | 5 ++--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index f669e63..4c85e24 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,9 +4,6 @@ COPY ./src /srv/build WORKDIR /srv/build -# Building node -RUN ./build.npm.sh - VOLUME ["/srv/build/repo/incoming"] ENTRYPOINT ["./main.sh"] diff --git a/src/main.sh b/src/main.sh index d75add0..f335458 100755 --- a/src/main.sh +++ b/src/main.sh @@ -10,12 +10,11 @@ echo "Building VSCodium..." ./build.sh echo "Package(s) deploy..." -DIST_DIR="vscode/.build/linux/deb/amd64/deb" +DIST_DIR="/srv/build/vscodium/vscode/.build/linux/deb/amd64/deb" INCOMING_DIR="repo/incoming" READY_SUFFIX=".ready" mkdir -p "${INCOMING_DIR}" -tree > "${INCOMING_DIR}/tree.txt" -if [ -d "${DIST_DIR}"" ]; then +if [ -d "${DIST_DIR}" ]; then ./deploy.sh "${DIST_DIR}" "${INCOMING_DIR}" "${READY_SUFFIX}" else printf "%s" "No dist dir found! Aborting..."