Skip to content

Commit

Permalink
move path
Browse files Browse the repository at this point in the history
  • Loading branch information
holic committed Sep 5, 2023
1 parent 0a33658 commit 7f69ff5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@ RUN mkdir -p /etc/apt/keyrings && \
npm --version

# go
ENV PATH="${PATH}:/usr/local/go/bin"
RUN wget https://dl.google.com/go/go1.20.4.linux-amd64.tar.gz && \
# -C to move to given directory
tar -C /usr/local/ -xzf go1.20.4.linux-amd64.tar.gz && \
go version

# foundry
ENV PATH="${PATH}:/root/.foundry/bin"
RUN curl -L https://foundry.paradigm.xyz/ | bash && \
${HOME}/.foundry/bin/foundryup && \
forge --version && \
Expand All @@ -40,8 +42,6 @@ FROM base AS builder
COPY . /app
WORKDIR /app

ENV PATH="${PATH}:/usr/local/go/bin"
ENV PATH="${PATH}:/root/.foundry/bin"
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile
RUN pnpm run -r build

Expand Down

0 comments on commit 7f69ff5

Please sign in to comment.