Skip to content
This repository was archived by the owner on Oct 2, 2024. It is now read-only.
/ gcc-image Public archive

A container image for running the GCC toolchain for C and C++, built on Fedora

License

Notifications You must be signed in to change notification settings

jwillikers/gcc-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GCC Image

GitHub Workflow Status

A container image for running the GCC toolchain for C and C++, built on Fedora. Comes complete with CMake, Conan, Ninja, and Clang tools.

Quick Start

Supported architectures

amd64, arm32v7, arm64v8

To use the GCC toolchain inside the container, execute commands via Podman.

➜ podman run --userns keep-id --rm -dt --volume "$PWD":/home/user:Z --name gcc quay.io/jwillikers/gcc:latest g++ test/main.cpp

Or just open a shell inside the container.

➜ podman run --userns keep-id --rm -it --volume "$PWD":/home/user:Z --name gcc quay.io/jwillikers/gcc:latest

Build

Use Buildah to build the image.

  1. Install the necessary dependencies.

    ➜ sudo dnf -y install git buildah podman
  2. Clone this repository.

    ➜ git -C ~/Projects clone git@github.com:jwillikers/gcc-image.git
  3. Run the shell script.

    ~/Projects/gcc-image/gcc-image.sh

Test

Test the new image by running the test.sh script.

~/Projects/gcc-image/test.sh

Contributing

Contributions in the form of issues, feedback, and even pull requests are welcome. Make sure to adhere to the project’s Code of Conduct.

Open Source Software

This project is built on the hard work of countless open source contributors. Several of these projects are enumerated below.

Code of Conduct

The project’s Code of Conduct is available in the Code of Conduct file.

License

This repository is licensed under the GPLv3, available in the license file.

© 2021 Jordan Williams

Authors

About

A container image for running the GCC toolchain for C and C++, built on Fedora

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published