aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-02-04 02:01:43 +0000
committerFuwn <[email protected]>2023-02-04 02:01:43 +0000
commit851bfbd3c37ceb18178380f51913feef6dc4274c (patch)
tree21c46f7a1f8aa6e198295ab4630dff9ecfcbc3b0 /Dockerfile
parentfix(gemini_to_html.rs): html entity-encode gemini (diff)
downloadarchived-september-851bfbd3c37ceb18178380f51913feef6dc4274c.tar.xz
archived-september-851bfbd3c37ceb18178380f51913feef6dc4274c.zip
build(rustup): move from nightly to stable)
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index 6c8df3f..3f21f5f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,6 +1,6 @@
-FROM clux/muslrust:nightly-2022-03-08 AS environment
+FROM clux/muslrust:1.66.0 AS environment
-ENV CHANNEL=nightly-2022-03-08
+ENV CHANNEL=1.66.0
RUN curl "https://static.rust-lang.org/rustup/archive/${RUSTUP_VER}/${RUST_ARCH}/rustup-init" -o rustup-init \
&& chmod +x rustup-init \
@@ -11,8 +11,10 @@ RUN curl "https://static.rust-lang.org/rustup/archive/${RUSTUP_VER}/${RUST_ARCH}
RUN cargo install sccache
+RUN apt-get update \
+ && apt-get install -y gnupg2
+
RUN curl -fsSL https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - \
- && apt-get update \
&& apt-get install -y clang
# RUN cargo install --git https://github.com/dimensionhq/fleet fleet-rs