mirror of
https://github.com/nushell/nushell.git
synced 2024-12-27 01:19:25 +01:00
2bae2b57ee
Signed-off-by: Vanessa Sochat <vsochat@stanford.edu>
18 lines
403 B
Docker
18 lines
403 B
Docker
FROM rust:1.37-slim
|
|
|
|
# docker build -t nushell/nu-base .
|
|
# docker run -it nushell/nu-base
|
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
RUN apt-get update && apt-get install -y libssl-dev \
|
|
libxcb-composite0-dev \
|
|
libx11-dev \
|
|
pkg-config && \
|
|
mkdir -p /code
|
|
|
|
ADD . /code
|
|
WORKDIR /code
|
|
RUN cargo build --release && cargo run --release && \
|
|
cp target/release/nu /usr/local/bin
|
|
ENTRYPOINT ["nu"]
|