build sources for container to provide an build environment for go and rust projects
https://hub.docker.com/r/volkerraschek/build-image/
Markus Pesch
40e51db36d
- Use podman as container runtime. - Add podman into build-image. - Adapt Makefile to use fully qualified instead of unqualified container image names. |
||
---|---|---|
installation-scripts | ||
.drone.yml | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
Dockerfile | ||
LICENSE | ||
Makefile | ||
README.md |
build-image
This project, hosted on git.cryptic.systems, contains only files to build a build container image.
Usage
golang
To use this image for building golang applications execute this in your root folder of your go project.
$ docker run \
--rm \
--volume ${PWD}:/workspace \
volkerraschek/build-image:latest \
go build
rust
If you want to compile instead go rust sourcecode, than you can do it similar to the golang example.
$ docker run \
--rm \
--volume ${PWD}:/workspace \
volkerraschek/build-image:latest \
cargo build --release