mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 06:30:08 +02:00
Merge pull request #625 from DrSensor/master
Publish various docker image on git-tag
This commit is contained in:
7
docker/Package.Dockerfile
Normal file
7
docker/Package.Dockerfile
Normal file
@ -0,0 +1,7 @@
|
||||
ARG base
|
||||
FROM ${base}
|
||||
|
||||
ARG artifact
|
||||
COPY ${artifact} /bin/
|
||||
|
||||
ENTRYPOINT ["/bin/nu"]
|
15
docker/Package.glibc-busybox.Dockerfile
Normal file
15
docker/Package.glibc-busybox.Dockerfile
Normal file
@ -0,0 +1,15 @@
|
||||
ARG base
|
||||
FROM debian:stable-slim AS patch
|
||||
FROM ${base}
|
||||
|
||||
ARG artifact
|
||||
COPY ${artifact} /bin/
|
||||
|
||||
COPY --from=patch \
|
||||
/lib/x86_64-linux-gnu/libz.so.1 \
|
||||
/lib/x86_64-linux-gnu/libdl.so.2 \
|
||||
/lib/x86_64-linux-gnu/librt.so.1 \
|
||||
/lib/x86_64-linux-gnu/libgcc_s.so.1 \
|
||||
/lib/x86_64-linux-gnu/
|
||||
|
||||
ENTRYPOINT ["/bin/nu"]
|
12
docker/Package.glibc-distroless.Dockerfile
Normal file
12
docker/Package.glibc-distroless.Dockerfile
Normal file
@ -0,0 +1,12 @@
|
||||
ARG base
|
||||
FROM debian:stable-slim AS patch
|
||||
FROM ${base}
|
||||
|
||||
ARG artifact
|
||||
COPY ${artifact} /bin/
|
||||
|
||||
COPY --from=patch \
|
||||
/lib/x86_64-linux-gnu/libz.so.1 \
|
||||
/lib/x86_64-linux-gnu/
|
||||
|
||||
ENTRYPOINT ["/bin/nu"]
|
11
docker/docker-compose.package.yml
Normal file
11
docker/docker-compose.package.yml
Normal file
@ -0,0 +1,11 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
nushell:
|
||||
image: ${REGISTRY}/nu:${TAG}
|
||||
build:
|
||||
context: ..
|
||||
dockerfile: docker/Package${PATCH}.Dockerfile
|
||||
args:
|
||||
base: ${BASE_IMAGE}
|
||||
artifact: ${NU_BINS}
|
Reference in New Issue
Block a user