mirror of
https://github.com/nushell/nushell.git
synced 2024-11-27 02:44:01 +01:00
12 lines
339 B
Docker
12 lines
339 B
Docker
ARG FROMTAG=latest
|
|
FROM quay.io/nushell/nu-base:${FROMTAG} as base
|
|
FROM ubuntu:18.04
|
|
COPY --from=base /usr/local/bin/nu /usr/local/bin/nu
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
RUN apt-get update \
|
|
&& apt-get install -y libssl-dev pkg-config \
|
|
&& apt-get clean \
|
|
&& rm -fr /var/lib/apt/lists/*
|
|
ENTRYPOINT ["nu"]
|
|
CMD ["-l", "info"]
|