From 1b3d0ca1520f6ea5329d87f95b4346fe4cf34365 Mon Sep 17 00:00:00 2001 From: Azizi <64193693+azizi-a@users.noreply.github.com> Date: Fri, 22 Nov 2024 11:02:28 +0000 Subject: [PATCH] tweak: add git to scrypto-dev-container --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index e1458ce6ff..7d135956a7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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