From 115efa5b69f947e364c75a8a60c2a318595d21a5 Mon Sep 17 00:00:00 2001 From: Ryan Smith Date: Mon, 17 Mar 2025 16:14:33 -0700 Subject: [PATCH] Change output directory to ./bin when compiling Previously, binaries were compiled to ./out. --- Dockerfile | 2 +- scripts/install.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 18914fc..ea7dc35 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,5 +7,5 @@ RUN make FROM alpine:latest RUN apk add --no-cache tzdata WORKDIR /data -COPY --from=build-stage /build/out / +COPY --from=build-stage /build/bin / ENTRYPOINT ["/deceptifeed"] \ No newline at end of file diff --git a/scripts/install.sh b/scripts/install.sh index 1f496bc..b3d9ed2 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -158,9 +158,9 @@ install_app() { if [[ -f "${script_dir}/${source_bin}" ]]; then # Found in the same directory as the script. source_bin="${script_dir}/${source_bin}" - elif [[ -f "${script_dir}/../out/${source_bin}" ]]; then - # Found in ../out relative to the script. - source_bin="${script_dir}/../out/${source_bin}" + elif [[ -f "${script_dir}/../bin/${source_bin}" ]]; then + # Found in ../bin relative to the script. + source_bin="${script_dir}/../bin/${source_bin}" else # Could not locate. echo -e "${msg_error} ${white}Unable to locate the file: ${yellow}'${source_bin}'${clear}\n" >&2