nushell/docker/packaging
Waldir Pimenta 5ca9e12b7f
Fix whitespace and typos (#1481)
* Remove EOL whitespace in files other than docs

* Break paragraphs into lines

See http://rhodesmill.org/brandon/2012/one-sentence-per-line/ for the rationale

* Fix various typos

* Remove EOL whitespace in docs/commands/*.md
2020-03-14 06:23:41 +13:00
..
Dockerfile.ubuntu-bionic Base on quay.io/nushell/nu-base:latest image 2019-09-16 19:55:53 +02:00
README.md Fix whitespace and typos (#1481) 2020-03-14 06:23:41 +13: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 -t nushell/package:ubuntu-bionic .

after building the image please run container:

$ docker run -td --rm --name nushell_package_ubuntu_bionic nushell/package:ubuntu-bionic

and copy deb package from inside:

$ docker cp nushell_package_ubuntu_bionic:/nu_0.2.0-1_amd64.deb .

or shell inside, and test install:

$ docker exec -it nushell_package_ubuntu_bionic bash
$ dpkg -i /nu_0.2.0-1_amd64.deb

(Reading database ... 25656 files and directories currently installed.)
Preparing to unpack /nu_0.2.0-1_amd64.deb ...
Unpacking nu (0.2.0-1) over (0.2.0-1) ...
Setting up nu (0.2.0-1) ...

When you are finished, exit and stop the container. It will be removed since we used --rm.

$ docker stop nushell_package_ubuntu_bionic

What should be done