nushell/.gitpod.Dockerfile

16 lines
501 B
Docker
Raw Normal View History

FROM gitpod/workspace-full
2019-09-28 03:01:50 +02:00
WORKDIR /workspace/nushell
USER root
2019-09-28 02:51:42 +02:00
RUN apt-get update && apt-get install -y libssl-dev \
libxcb-composite0-dev \
pkg-config \
2019-09-28 02:59:30 +02:00
curl \
rustc
2019-09-28 02:51:42 +02:00
RUN echo "##vso[task.prependpath]/root/.cargo/bin" && \
rustc -Vv && \
if $RELEASE; then cargo build --release && cargo run --release; \
cp target/release/nu /usr/local/bin; \
else cargo build; \
cp target/debug/nu /usr/local/bin; fi;
RUN cargo build