Dockerfile 495 Bytes
Newer Older
Jeremy Soller's avatar
Jeremy Soller committed
1 2 3 4 5 6 7 8
FROM ubuntu:18.04

# Install dependencies
RUN apt-get update -qq && \
    apt-get install -y -qq \
      build-essential \
      curl \
      libfuse-dev \
Jeremy Soller's avatar
Jeremy Soller committed
9 10
      pkg-config \
      qemu-system-x86
Jeremy Soller's avatar
Jeremy Soller committed
11 12 13 14 15 16 17 18 19

# Install rust
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | \
    sh -s -- --default-toolchain nightly -y

# Set path
ENV PATH=/root/.cargo/bin:$PATH

# Install redoxer
20 21
COPY . /root/redoxer
RUN cargo install --path /root/redoxer
Jeremy Soller's avatar
Jeremy Soller committed
22 23 24

# Install redoxer toolchain
RUN redoxer install