mirror of
https://github.com/nushell/nushell.git
synced 2024-12-22 07:02:19 +01:00
Remove Dockerfile.bionic from docker directory
This commit is contained in:
parent
4ad249694f
commit
c9310265fe
@ -1,23 +0,0 @@
|
||||
FROM ubuntu:18.04
|
||||
|
||||
# docker build -f docker/Dockerfile.bionic .
|
||||
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
RUN apt-get update && apt-get install -y libssl-dev \
|
||||
libxcb-composite0-dev \
|
||||
libx11-dev \
|
||||
pkg-config \
|
||||
curl \
|
||||
devscripts \
|
||||
debhelper
|
||||
|
||||
WORKDIR /code
|
||||
COPY ./rust-toolchain ./rust-toolchain
|
||||
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --no-modify-path --default-toolchain `cat rust-toolchain`
|
||||
ENV PATH=/root/.cargo/bin:$PATH
|
||||
COPY . /code
|
||||
RUN rustc -Vv && cargo build --release
|
||||
RUN debuild -b -us -uc -i
|
||||
RUN dpkg -i ../nu_0.2.0-1_amd64.deb
|
||||
RUN chsh -s /usr/bin/nu
|
||||
RUN echo 'ls | get name | echo $it' | /usr/bin/nu
|
Loading…
Reference in New Issue
Block a user