vpncloud/.devcontainer/Dockerfile

18 lines
615 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
RUN rustup default 1.51.0 \
&& rustup component add clippy rust-src rustfmt
RUN cargo install cargo-outdated cargo-cache \
&& cargo cache -a