Build and publish docker img along with nu plugins

* Add Package.Dockerfile as flexible build source

* Add docker-compose.package.yml as intermediary config

* CI will use new github action YAML format

it only publish the docker image on git tag

* Add debian:latest, debian:slim, and alpine as base image

* Add documentation
This commit is contained in:
Fahmi Akbar Wildana
2019-09-08 21:38:25 +07:00
committed by GitHub
parent 085973e2db
commit c9c9112155
6 changed files with 147 additions and 9 deletions

View File

@ -0,0 +1,5 @@
ARG base
FROM ${base}
COPY target/release/nu* /bin/
ENTRYPOINT ["nu"]

View File

@ -0,0 +1,10 @@
version: '3'
services:
nushell:
image: ${REGISTRY}/nu:${TAG}
build:
context: ..
dockerfile: docker/Package.Dockerfile
args:
base: ${BASE_IMAGE}