nexus3-cli
nexus3-cli copied to clipboard
Add support for Docker image
Thinking off the top of my head:
- On first run, do something like
docker run --rm -it -v $(pwd):/root nexus3-cli login
- Change the login command to write two files:
- The usual
~/.nexus3-cli
- An additional
~/.nexus3-cli.env
- The usual
- On subsequent uses, use something like
docker run --rm -it --env-file ~/.nexus3-cli.env CMD ...
- Suggest an alias to be added to the user's profile like
alias nexus3='docker run ...'
(i.e. the usage above)
In addition to the above, add integration tests for the docker image and publish it to docker hub (using latest
for master and also the tag name for version`