2019-09-16 17:55:53 +00:00
|
|
|
# Packaging
|
|
|
|
|
|
|
|
This directory contains docker images used for creating packages for different distribution.
|
|
|
|
|
|
|
|
## How to use this docker files?
|
|
|
|
|
|
|
|
Start with:
|
|
|
|
|
|
|
|
`docker build -f docker/packaging/Dockerfile.ubuntu-bionic .`
|
|
|
|
|
2019-09-18 15:43:06 +00:00
|
|
|
after building the image please run container
|
2019-09-16 17:55:53 +00:00
|
|
|
|
2019-09-19 06:16:39 +00:00
|
|
|
`docker run -d --name nushell <image-id>`
|
2019-09-18 15:43:06 +00:00
|
|
|
|
|
|
|
and copy deb package from inside:
|
|
|
|
|
|
|
|
`docker cp nushell:/nu_0.2.0-1_amd64.deb .`
|
2019-09-16 17:55:53 +00:00
|
|
|
|
|
|
|
## 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.
|
2019-09-18 15:43:06 +00:00
|
|
|
https://github.com/nushell/nushell/issues/681
|
|
|
|
|
2019-09-16 17:55:53 +00:00
|
|
|
* File debian/changelog file should be generated based on git history.
|
2019-09-18 15:43:06 +00:00
|
|
|
https://github.com/nushell/nushell/issues/682
|
|
|
|
|
|
|
|
* Building package and nu version should be parametrized.
|
|
|
|
https://github.com/nushell/nushell/issues/683
|