Wirecloud / docker-wirecloud

🐳 Docker Official Image packaging for WireCloud https://conwet.fi.upm.es/wirecloud
Other
8 stars 15 forks source link

Make Docker flexible by supporting command args #28

Closed jason-fox closed 5 years ago

jason-fox commented 5 years ago

Amend the Dockerfile so a developer can build sources based on their own repository and branches

docker build -t wirecloudx . --build-arg GITHUB_ACCOUNT=<my-account>  --build-arg GITHUB_REPOSITORY=<your repo> --build-arg SOURCE_BRANCH=<your branch>

Default functionality without build-args is as previously.

Related to https://github.com/Wirecloud/wirecloud/issues/392