Skip to content
This repository has been archived by the owner on Oct 17, 2022. It is now read-only.

freshet-net/systemd-docker_build-container

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

systemd-docker build container

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:latest with the folder in which run_compilation.sh lies bind mounted into the container to make handle_go_get.sh available
  • handle_go_get.sh is run inside the container
    • executes go get
    • copies the executable from /go/bin to the folder where handle_go_get.sh is
  • once these operations are finished, the container shuts down; the Docker client removes it
  • systemd-docker is available in the same folder as run_compilation.sh

How To

  • Clone this repository on a machine with Docker installed
  • run run_compilation.sh [<git-go-uri>]
    • if no git-go-uri is provided, it defaults to github.com/dontsetse/systemd-docker (repository)

    • git-go-uri should be a go get compatible URI - a GitHub repository with the URL pattern

      https://github.com/<username>/<repository_name>.git

      should be specified as

      github.com/<username>/<repository_name>

About

Scripts to build systemd-docker in a container

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%