Skip to content

Commit

Permalink
refactor: update PATH extension command in containers
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelmauro committed Oct 10, 2024
1 parent da9f645 commit a3fa474
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 11 deletions.
3 changes: 1 addition & 2 deletions docker/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@ check-contracts:
prepare-contracts: check-tools check-contracts
@cd ../ && \
export ZKSYNC_HOME=$$(pwd) && \
export PATH=$$PATH:$${ZKSYNC_HOME}/bin && \
export PATH=$$PATH:$${ZKSYNC_HOME}/zkstack_cli/zkstackup && \
export PATH=$$PATH:$${ZKSYNC_HOME}/bin:$${ZKSYNC_HOME}/zkstack_cli/zkstackup && \
zkt || true && \
zk_supervisor contracts && \
mkdir -p contracts/l1-contracts/artifacts
Expand Down
4 changes: 1 addition & 3 deletions docker/zk-environment/20.04_amd64_cuda_11_8.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,7 @@ RUN wget -c https://sourceware.org/pub/valgrind/valgrind-3.20.0.tar.bz2 && \

# Setup the environment
ENV ZKSYNC_HOME=/usr/src/zksync
ENV PATH="${ZKSYNC_HOME}/bin:${PATH}" \
PATH="${ZKSYNC_HOME}/zkstack_cli/zkstackup:${PATH}" \
PATH="${HOME}/.local/bin:${PATH}"
ENV PATH="${ZKSYNC_HOME}/bin:${ZKSYNC_HOME}/zkstack_cli/zkstackup:${HOME}/.local/bin:${PATH}"
ENV CI=1
RUN cargo install sccache
ENV RUSTC_WRAPPER=/usr/local/cargo/bin/sccache
Expand Down
4 changes: 1 addition & 3 deletions docker/zk-environment/20.04_amd64_cuda_12_0.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,7 @@ RUN wget -c https://github.com/matter-labs/zksolc-bin/raw/main/linux-amd64/zksol

# Setup the environment
ENV ZKSYNC_HOME=/usr/src/zksync
ENV PATH="${ZKSYNC_HOME}/bin:${PATH}" \
PATH="${ZKSYNC_HOME}/zkstack_cli/zkstackup:${PATH}" \
PATH="${HOME}/.local/bin:${PATH}"
ENV PATH="${ZKSYNC_HOME}/bin:${ZKSYNC_HOME}/zkstack_cli/zkstackup:${HOME}/.local/bin:${PATH}"
ENV CI=1
RUN cargo install sccache
ENV RUSTC_WRAPPER=/usr/local/cargo/bin/sccache
Expand Down
4 changes: 1 addition & 3 deletions docker/zk-environment/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,7 @@ RUN wget -c https://sourceware.org/pub/valgrind/valgrind-3.20.0.tar.bz2 && \

# Setup the environment
ENV ZKSYNC_HOME=/usr/src/zksync
ENV PATH="${ZKSYNC_HOME}/bin:${PATH}" \
PATH="${ZKSYNC_HOME}/zkstack_cli/zkstackup:${PATH}" \
PATH="${HOME}/.local/bin:${PATH}"
ENV PATH="${ZKSYNC_HOME}/bin:${ZKSYNC_HOME}/zkstack_cli/zkstackup:${HOME}/.local/bin:${PATH}"
ENV CI=1
ENV RUSTC_WRAPPER=/usr/local/cargo/bin/sccache

Expand Down

0 comments on commit a3fa474

Please sign in to comment.