Skip to content

Commit 448152e

Browse files
committed
Docker: install cargo
Needed for pyn5. It should be fine to delete rust again after building the image, but we leave it for now.
1 parent c4325ee commit 448152e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ RUN apt-get update -y \
2929
&& apt-get install -y nginx supervisor \
3030
&& apt-get install -y rabbitmq-server \
3131
&& apt-get install -y r-base r-base-dev mesa-common-dev libglu1-mesa-dev \
32-
libssl-dev libssh2-1-dev libcurl4-openssl-dev cmtk \
32+
libssl-dev libssh2-1-dev libcurl4-openssl-dev cmtk curl \
33+
&& curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y \
34+
&& . $HOME/.cargo/env \
3335
&& rm -rf /var/lib/apt/lists/*
3436
COPY packagelist-ubuntu-apt.txt /home/
3537
RUN apt-get update -y \

0 commit comments

Comments
 (0)