mirror of
https://github.com/nushell/nushell.git
synced 2024-12-02 13:24:30 +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"]
|