/dockerized_nushell

Dockerfiles for creating nushell docker images

Primary LanguageMakefileMIT LicenseMIT

Nushell Docker

A dockerized nushell instance.

Features

  • enters nu on start
  • ca-certificates are installed (required for ssl)

Usage

Dependencies:

Using the GitHub Container Registry

The alpine and debian-slim variant are available in the GitHub container registry:

  • alpine: docker run --rm -it ghcr.io/jan9103/nushell:alpine
  • debian-slim: docker run --rm -it ghcr.io/jan9103/nushell:debian-slim

Building using the Makefiles

Dependencies:

  1. go to the directory of the version you would like to build
  2. run make build

Building it manually

  1. go to the directory of the version you would like to build
  2. copy a version of the nu binary to the directory
  3. run docker build -t nushell:VARIANT .

Running a manually build one

docker run --rm -it nushell:VARIANT.
Example: docker run --rm -it nushell:debian-slim.

Variants

debian-slim is recommended for the average user.

Name base-image nu-version image size
alpine alpine:latest latest, linux-musl 76.3MB
busybox busybox:stable latest, linux-musl 72.3MB
debian-slim debian:slim latest, linux-gnu 154MB
gentoo-stage3 gentoo/stage3:latest latest, linux-gnu 268MB
tinycore tdshi/tinycore:latest latest, linux-musl 80.9MB