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 330b265 commit 85d78c1Copy full SHA for 85d78c1
Dockerfile
@@ -1,4 +1,4 @@
1
-FROM ubuntu:latest
+FROM ubuntu:latest AS gcc-builder
2
3
RUN apt-get update; \
4
DEBIAN_FRONTEND="noninteractive" apt-get install -y --no-install-recommends \
@@ -67,5 +67,8 @@ RUN /bin/sh -c set -ex; \
67
dpkg-divert --divert /usr/bin/g++.orig --rename /usr/bin/g++; \
68
update-alternatives --install /usr/bin/cc cc /usr/local/bin/gcc 999
69
70
+FROM rust
71
+COPY --from=gcc-builder /usr/ /usr/
72
+RUN cargo install --git https://github.com/Rust-GCC/cargo-gccrs cargo-gccrs
73
74
CMD ["bash"]
0 commit comments