Skip to content

Commit

Permalink
docker: fixed variable name in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Litarvan authored Jan 4, 2024
1 parent c79ca4a commit 179bb48
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@
FROM rust:1.74-bookworm as builder

ARG app
ARG commit-hash
ARG commit_hash

ENV BUILD_DIR /tmp/xelis-build
ENV XELIS_COMMIT_HASH ${commit-hash}

RUN mkdir -p $BUILD_DIR
WORKDIR $BUILD_DIR
Expand All @@ -19,7 +18,7 @@ COPY --parents xelis_wallet/src xelis_wallet/Cargo.toml ./

WORKDIR ${BUILD_DIR}/$app

RUN cargo build --release
RUN XELIS_COMMIT_HASH=${commit_hash} cargo build --release

# ---

Expand Down

0 comments on commit 179bb48

Please sign in to comment.