Enhance docker/packaging/README.md about issue links

This commit is contained in:
Jan Koprowski 2019-09-18 17:43:06 +02:00
parent c9310265fe
commit a8e2801e0b

View File

@ -8,14 +8,23 @@ Start with:
`docker build -f docker/packaging/Dockerfile.ubuntu-bionic .`
after building the image please copy dpkg package from inside:
after building the image please run container
`docker cp $(docker ps -q -a | head -n1):/nu_0.2.0-1_amd64.deb .`
`docker run -d --name nushell $(docker images -q -a | head -n+1)`
and copy deb package from inside:
`docker cp nushell:/nu_0.2.0-1_amd64.deb .`
## What should be done
* We should run sbuild command to create chroot and then install dpkg.
For two reasons. First: we want to use the same tools as Ubuntu package builders
to handle the cornercases. Second: we want to test dpkg requirements.
https://github.com/nushell/nushell/issues/681
* File debian/changelog file should be generated based on git history.
https://github.com/nushell/nushell/issues/682
* Building package and nu version should be parametrized.
https://github.com/nushell/nushell/issues/683