vpncloud/.devcontainer/Dockerfile

18 lines
631 B
Docker
Raw Normal View History

2020-12-01 22:27:13 +00:00
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.148.1/containers/rust/.devcontainer/base.Dockerfile
2021-04-06 10:28:31 +00:00
FROM mcr.microsoft.com/vscode/devcontainers/rust:1
2020-12-01 22:27:13 +00:00
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
&& apt-get -y install --no-install-recommends asciidoctor
2021-03-26 07:16:23 +00:00
2021-04-05 17:01:40 +00:00
RUN rm /etc/localtime && ln -s /usr/share/zoneinfo/Europe/Berlin /etc/localtime
2021-04-06 10:28:31 +00:00
RUN chown vscode: -R /usr/local/rustup /usr/local/cargo
USER vscode
2021-12-19 11:40:43 +00:00
RUN rustup default 1.57.0 \
2021-04-06 10:28:31 +00:00
&& rustup component add clippy rust-src rustfmt
2021-12-19 11:40:43 +00:00
RUN cargo install cargo-outdated cargo-cache cargo-criterion \
2021-04-06 10:28:31 +00:00
&& cargo cache -a