Skip to content

Commit 822ede2

Browse files
committed
Docker: Rust: Make sure cargo is installed
1 parent 9bdaa1e commit 822ede2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,13 @@ RUN cd /tmp \
7575

7676
ENV GOROOT=/usr/local/go
7777

78+
# Install cargo
79+
RUN cd /root \
80+
&& curl -s -L -O https://static.rust-lang.org/rustup.sh \
81+
&& bash ./rustup.sh -y --verbose
82+
ENV PATH="/root/.cargo/bin:${PATH}"
83+
RUN cargo --help
84+
7885
# lightning-integration
7986
RUN git clone https://github.com/cdecker/lightning-integration.git /root/lightning-integration \
8087
&& ln -sf /usr/bin/python3 /usr/bin/python \

0 commit comments

Comments
 (0)