mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 06:30:08 +02:00
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:
committed by
GitHub
parent
085973e2db
commit
c9c9112155
5
docker/Package.Dockerfile
Normal file
5
docker/Package.Dockerfile
Normal file
@ -0,0 +1,5 @@
|
||||
ARG base
|
||||
FROM ${base}
|
||||
|
||||
COPY target/release/nu* /bin/
|
||||
ENTRYPOINT ["nu"]
|
10
docker/docker-compose.package.yml
Normal file
10
docker/docker-compose.package.yml
Normal file
@ -0,0 +1,10 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
nushell:
|
||||
image: ${REGISTRY}/nu:${TAG}
|
||||
build:
|
||||
context: ..
|
||||
dockerfile: docker/Package.Dockerfile
|
||||
args:
|
||||
base: ${BASE_IMAGE}
|
Reference in New Issue
Block a user