build sources for container to provide an build environment for go and rust projects https://hub.docker.com/r/volkerraschek/build-image/
Go to file
Markus Pesch 57d2cc6440
Some checks failed
continuous-integration/drone/push Build is failing
fix: remove docker-pushrm
2021-09-01 17:28:25 +02:00
installation-scripts fix: remove docker-pushrm 2021-09-01 17:28:25 +02:00
.drone.yml fix: update ci 2021-08-31 22:39:00 +02:00
.editorconfig add: travis pipeline 2019-04-18 18:48:31 +02:00
.gitattributes add: travis pipeline 2019-04-18 18:48:31 +02:00
.gitignore fix: delete image after build or push, use orgsecret 2021-01-08 17:38:57 +01:00
.markdownlint.yaml fix: update ci 2021-08-31 22:39:00 +02:00
Dockerfile fix: remove docker-pushrm 2021-09-01 17:28:25 +02:00
LICENSE fix(LICENSE): publish build-image under apache 2.0 license 2019-08-25 15:42:25 +02:00
Makefile fix: remove docker-pushrm 2021-09-01 17:28:25 +02:00
README.md fix: update ci 2021-08-31 22:39:00 +02:00

build-image

Build Status Docker Pulls

This project contains all sources to build the container image docker.io/volkerraschek/build-image. The primary goal of the image is only to provide an environment to compile source code like go or rust.

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