Scripts to build systemd-docker (or a fork) in a Docker container. Useful if Golang is not available or desired on the Docker host itself.
- runs the default golang Docker image
golang:latestwith the folder in whichrun_compilation.shlies bind mounted into the container to makehandle_go_get.shavailable handle_go_get.shis run inside the container- executes
go get - copies the executable from
/go/binto the folder wherehandle_go_get.shis
- executes
- once these operations are finished, the container shuts down; the Docker client removes it
systemd-dockeris available in the same folder asrun_compilation.sh
- Clone this repository on a machine with Docker installed
- run
run_compilation.sh [<git-go-uri>]-
if no
git-go-uriis provided, it defaults to github.com/dontsetse/systemd-docker (repository) -
git-go-urishould be ago getcompatible URI - a GitHub repository with the URL patternhttps://github.com/<username>/<repository_name>.gitshould be specified as
github.com/<username>/<repository_name>
-