Skip to content

introkun/netpass-docker-builder

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Containerized environment for building NetPass with docker

Prerequisites

  • Running Linux OS
  • Installed docker engine from docker.io

Building environment

To build the environment image - run command:

docker build -t netpass_builder -f ./Dockerfile ./

Build environment image need to be created once and recreated with the same command every time Dockerfile changed.

Compilation with Docker

Checkout original NetPass source and inside run command:

docker run --rm -v ./:/build/source -u $(id -u):$(id -g) -ti netpass_builder

By default builder will execute command make clean cia, to override arguments to make add at the end of previous command arguments of your choose.

Example:

docker run --rm -v ./:/build/source -u $(id -u):$(id -g) -ti netpass_builder clean

This will run command make clean overriding default arguments

Afterword

For now it was created as Proof of Concept and can be changed in the future to being more universal. Probably will use multistage capabilities.

About

netpass-docker-builder

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Dockerfile 90.4%
  • Shell 9.6%