Skip to content

Commit

Permalink
tweak: add git to scrypto-dev-container
Browse files Browse the repository at this point in the history
  • Loading branch information
azizi-a committed Nov 29, 2024
1 parent b77cf53 commit 1b3d0ca
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,15 @@ RUN cargo install --path ./radix-clis
# This dev-container image can be built with the following command:
# docker build . --target scrypto-dev-container -t scrypto-dev-container
FROM base-image AS scrypto-dev-container
# Install improved prompt powerline and bash-completion
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
# Install improved prompt powerline, bash-completion and git
RUN apt install -y powerline bash-completion git
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
COPY --from=builder /app/target/release/rtmc /usr/local/bin/rtmc
COPY --from=builder /app/target/release/rtmd /usr/local/bin/rtmd
COPY --from=builder /app/target/release/scrypto-bindgen /usr/local/bin/scrypto-bindgen
RUN rustup target add wasm32-unknown-unknown

FROM base-image AS scrypto-builder
Expand Down

0 comments on commit 1b3d0ca

Please sign in to comment.