1
0
mirror of https://github.com/containers/youki synced 2024-11-26 14:13:49 +01:00
youki/.devcontainer/Dockerfile
utam0k ddb4d88cb9
Switch codespace from gitpod
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-08-25 13:23:42 +00:00

23 lines
431 B
Docker

ARG VARIANT="bullseye"
FROM mcr.microsoft.com/vscode/devcontainers/rust:1-${VARIANT}
RUN apt-get update
RUN apt-get install -y \
git \
make
RUN apt-get install -y \
pkg-config \
libsystemd-dev \
libdbus-glib-1-dev \
build-essential \
libelf-dev \
libseccomp-dev \
libclang-dev \
libssl-dev
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
RUN rustup component add rustfmt
RUN rustup component add clippy