vpncloud/.devcontainer/Dockerfile

19 lines
643 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 \
2022-09-23 20:18:14 +00:00
&& apt-get -y install --no-install-recommends asciidoctor valgrind
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
2023-10-08 18:02:48 +00:00
RUN rustup default 1.73.0 \
&& rustup component add clippy rust-src rustfmt
2021-04-06 10:28:31 +00:00
2021-12-19 11:40:43 +00:00
RUN cargo install cargo-outdated cargo-cache cargo-criterion \
2022-09-23 20:18:14 +00:00
&& cargo cache -a