1
0
mirror of https://github.com/containers/youki synced 2024-09-20 02:41:47 +02:00

Slight Format Edit

This commit is contained in:
nalpine 2021-05-27 13:14:39 -04:00
parent f37079b56f
commit 7d6a3c6fd5

View File

@ -3,8 +3,9 @@ FROM mcr.microsoft.com/vscode/devcontainers/rust:1
WORKDIR /workspaces
RUN curl -fsSL get.docker.com -o get-docker.sh && sh get-docker.sh && rm get-docker.sh
RUN rustup component add rust-src clippy
RUN curl -L https://github.com/rust-analyzer/rust-analyzer/releases/latest/download/rust-analyzer-x86_64-unknown-linux-gnu.gz -o /usr/local/cargo/bin/rust-analyzer.gz
RUN gzip -d /usr/local/cargo/bin/rust-analyzer.gz && chmod +x /usr/local/cargo/bin/rust-analyzer
RUN curl -L https://github.com/rust-analyzer/rust-analyzer/releases/latest/download/rust-analyzer-x86_64-unknown-linux-gnu.gz \
-o /usr/local/cargo/bin/rust-analyzer.gz && gzip -d /usr/local/cargo/bin/rust-analyzer.gz \
&& chmod +x /usr/local/cargo/bin/rust-analyzer
RUN wget https://dl.google.com/go/go1.13.5.linux-amd64.tar.gz && tar -C /usr/local -xzf go1.13.5.linux-amd64.tar.gz
RUN mkdir /workspaces/go
ENV PATH $PATH:/usr/local/go/bin