fix: only set NOMAD_ALLOC_INDEX as node_id when other cluster config is present

This commit is contained in:
alyssa 2024-10-23 05:12:57 +09:00
parent 35ce4e8da2
commit 79f7c973e7
3 changed files with 8 additions and 2 deletions

View file

@ -4,7 +4,7 @@ WORKDIR /build
RUN apk add rustup build-base protoc
# todo: arm64 target
RUN rustup-init --default-host x86_64-unknown-linux-musl --default-toolchain stable --profile default -y
RUN rustup-init --default-host x86_64-unknown-linux-musl --default-toolchain nightly-2024-08-20 --profile default -y
ENV PATH=/root/.cargo/bin:$PATH
ENV RUSTFLAGS='-C link-arg=-s'