From d621c90d6174d1881e530fb2ca6867a4f89a5c0c Mon Sep 17 00:00:00 2001 From: Timofey Gelazoniya Date: Sun, 29 Jun 2025 13:48:01 +0300 Subject: [PATCH] chore(docker): change binary name inside container --- Cargo.lock | 2 +- Cargo.toml | 2 +- docker/Dockerfile | 2 +- docker/entrypoint.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8ba5389..eacef01 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1071,7 +1071,7 @@ checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" [[package]] name = "sbrs" -version = "0.1.0" +version = "0.1.1" dependencies = [ "anyhow", "clap", diff --git a/Cargo.toml b/Cargo.toml index 9b2aea5..0ce52ed 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sbrs" -version = "0.1.0" +version = "0.1.1" edition = "2024" [dependencies] diff --git a/docker/Dockerfile b/docker/Dockerfile index 65c68b7..a729f8f 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -42,7 +42,7 @@ RUN addgroup -S -g ${PGID} app && \ adduser -S -u ${PUID} -G app -h /app app # Copy the compiled binary from the builder stage -COPY --from=builder /app/target/release/sbrs /usr/local/bin/ruleset-sync +COPY --from=builder /app/target/release/sbrs /usr/local/bin/sbrs # Copy the entrypoint script COPY ./docker/entrypoint.sh /usr/local/bin/entrypoint.sh diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index 8c19259..803ba9b 100644 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -8,7 +8,7 @@ RULE_PATH=${RULE_PATH:-} # --- Build the Command --- # This command is now used for both the initial run and the cron job. -APP_CMD="/usr/local/bin/ruleset-sync \ +APP_CMD="/usr/local/bin/sbrs \ --input-config /config/template.json \ --rules-dir /rules \ --output-config /config/default.json \