Skip to content

Commit

Permalink
feat: add dev-container target to docker file
Browse files Browse the repository at this point in the history
  • Loading branch information
azizi-a committed Nov 15, 2024
1 parent 640cc0f commit 3276dac
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,13 @@ WORKDIR /app

RUN cargo install --path ./radix-clis

FROM base-image as dev-container
RUN apt install -y bash-completion powerline
RUN echo 'powerline-daemon -q; POWERLINE_BASH_CONTINUATION=1; POWERLINE_BASH_SELECT=1; . /usr/share/powerline/bindings/bash/powerline.sh; . /etc/bash_completion' >> ~/.bashrc
COPY --from=builder /app/target/release/scrypto /usr/local/bin/scrypto
COPY --from=builder /app/target/release/resim /usr/local/bin/resim
RUN rustup target add wasm32-unknown-unknown

FROM base-image
COPY --from=builder /app/target/release/scrypto /usr/local/bin/scrypto
RUN rustup target add wasm32-unknown-unknown
Expand Down

0 comments on commit 3276dac

Please sign in to comment.