nushell/docker/packaging/README.md
2019-09-19 08:16:39 +02:00

30 lines
903 B
Markdown

# 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 .`
after building the image please run container
`docker run -d --name nushell <image-id>`
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