We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27d3a28 commit 8750862Copy full SHA for 8750862
Dockerfile
@@ -3,7 +3,7 @@ FROM python:3.10-slim AS cirq_base
3
# Install dependencies.
4
# rm -rf /var/lib/apt/lists/* cleans up apt cache. See https://docs.docker.com/develop/develop-images/dockerfile_best-practices/
5
RUN DEBIAN_FRONTEND=noninteractive apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
6
- cargo \
+ rustup \
7
python3-pip \
8
locales \
9
&& rm -rf /var/lib/apt/lists/*
@@ -15,6 +15,9 @@ ENV LANG en_US.UTF-8
15
ENV LANGUAGE en_US:en
16
ENV LC_ALL en_US.UTF-8
17
18
+# Use the last stable rust
19
+RUN rustup update
20
+
21
# Make python3 default
22
RUN rm -f /usr/bin/python \
23
&& ln -s /usr/bin/python3 /usr/bin/python
0 commit comments