mirror of
https://github.com/nushell/nushell.git
synced 2024-11-29 20:03:54 +01:00
17 lines
304 B
Docker
17 lines
304 B
Docker
|
FROM rust:1.37-slim
|
||
|
|
||
|
# docker build -t nu .
|
||
|
# docker run -it nu
|
||
|
|
||
|
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 install nu
|
||
|
ENTRYPOINT ["nu"]
|