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
commit1cfa3421e55c28dd9e7a88a53e4669f25e486bd4 (patch)
tree3199eccf8e04cb9ba9205bbb3c52502e3d5694a3 /Dockerfile
parentfix(gemini_to_html.rs): html entity-encode gemini (diff)
downloadseptember-1cfa3421e55c28dd9e7a88a53e4669f25e486bd4.tar.xz
september-1cfa3421e55c28dd9e7a88a53e4669f25e486bd4.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