mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 06:30:08 +02:00
trivial change to trigger ci
Signed-off-by: Vanessa Sochat <vsochat@stanford.edu>
This commit is contained in:
@ -1,17 +1,18 @@
|
||||
FROM rust:1.37-slim
|
||||
|
||||
# docker build -t nushell/nu-base .
|
||||
# docker build -f docker/Dockerfile.nu-base -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
|
||||
pkg-config
|
||||
|
||||
RUN USER=root cargo new --bin /code
|
||||
|
||||
ADD . /code
|
||||
WORKDIR /code
|
||||
RUN cargo build --release && cargo run --release && \
|
||||
cp target/release/nu /usr/local/bin
|
||||
ADD . /code
|
||||
RUN cargo build --release && cargo run --release
|
||||
RUN cp target/release/nu /usr/local/bin
|
||||
ENTRYPOINT ["nu"]
|
||||
|
Reference in New Issue
Block a user