An image with a GNU base Toolchain.
slimfull, latestIn software, a toolchain is a set of programming tools that is used to perform a complex software development task or to create a software product, which is typically another computer program or a set of related programs.
from wikipedia.org
The image contains the following tools and libraries:
The tools and libraries marked with a (1) are the only ones present on the
slim variant of The Docker image.
There are a couple of things needed for the script to work.
Docker, either the Community Edition (CE) or Enterprise Edition (EE), needs to be installed on your local computer.
Docker installation instructions can be found here.
The toolchain can be used in two different ways...
The toolchain can be used directly from the image by instantiating a container and executing the desired tool(s) on the container shell.
To start a container with this image - and have a shell - use the following command (the container will be deleted after exiting the shell):
docker container run --rm --interactive --tty fscm/toolchain sh
This will allow you to run any of the tools inside the this image. To take the most out of this method you can add you project code to the running container by defining your project folder as a working folder inside the container.
To start a container with this image and your project folder available inside use the following command:
docker container run --volume LOCAL_PROJECT_PATH:/work:rw --rm --interactive --tty fscm/toolchain sh
The toolchain can also be used with your favorite image. The toolchain can be
copied over to another image when using a Dockerfile.
To use the toolchain in another image when building your own image use the
following code in your Dockerfile:
ENV PATH="/usr/local/toolchain/bin:${PATH}"
COPY --from=fscm/toolchain "/usr/local/toolchain" "/usr/local/"
An example of a Dockerfile that copies the toolchain:
FROM fscm/centos
ENV PATH="/usr/local/toolchain/bin:${PATH}"
COPY --from=fscm/toolchain "/usr/local/toolchain" "/usr/local/toolchain"
RUN gcc --version
Build instructions can be found here.
This project uses SemVer for versioning. For the versions available, see the tags on this repository.
See also the list of contributors who participated in this project.
Content type
Image
Digest
Size
121.4 MB
Last updated
over 6 years ago
docker pull fscm/toolchain