public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/rust/master] dockerfile: change the base image ...
@ 2022-06-08 12:38 Thomas Schwinge
  0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2022-06-08 12:38 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:10427869f157c9d44d745265554f0f1c9f770c0c

commit 10427869f157c9d44d745265554f0f1c9f770c0c
Author: liushuyu <liushuyu011@gmail.com>
Date:   Mon Apr 25 15:53:19 2022 -0600

    dockerfile: change the base image ...
    
    ... to match Rust container image's base image
    
    Signed-off-by: Zixing Liu <liushuyu011@gmail.com>

Diff:
---
 Dockerfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 1ca3b168358..681a7444b2c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM ubuntu:latest AS gcc-builder
+FROM debian:11 AS gcc-builder
 
 RUN apt-get update; \
     DEBIAN_FRONTEND="noninteractive" apt-get install -y --no-install-recommends \
@@ -67,7 +67,7 @@ RUN /bin/sh -c set -ex; \
     dpkg-divert --divert /usr/bin/g++.orig --rename /usr/bin/g++; \
     update-alternatives --install /usr/bin/cc cc /usr/local/bin/gcc 999
 
-FROM rust
+FROM rust:latest
 COPY --from=gcc-builder /usr/ /usr/
 RUN cargo install --git https://github.com/Rust-GCC/cargo-gccrs cargo-gccrs


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-08 12:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-08 12:38 [gcc/devel/rust/master] dockerfile: change the base image Thomas Schwinge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).