-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdiff.patch
More file actions
23 lines (19 loc) · 722 Bytes
/
diff.patch
File metadata and controls
23 lines (19 loc) · 722 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
diff --git Dockerfile.gorust.ms Dockerfile.gorust.ms.exchanged
index 7de4300..8fb7ffe 100644
--- Dockerfile.gorust.ms
+++ Dockerfile.gorust.ms.exchanged
@@ -5,14 +5,15 @@ RUN apt-get -qq update \
curl \
ca-certificates
+FROM base as rust
+RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rustup.sh \
+ && bash rustup.sh -y --profile minimal
+
FROM base as go
RUN curl --proto '=https' -sSf \
https://dl.google.com/go/go1.13.7.linux-amd64.tar.gz > go.tar.gz \
&& tar -C /usr/local -xzf go.tar.gz
-FROM base as rust
-RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rustup.sh \
- && bash rustup.sh -y --profile minimal
FROM base