diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index a789118d..21b36f8c 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -2,19 +2,36 @@ ARG VARIANT="bullseye" FROM mcr.microsoft.com/vscode/devcontainers/rust:1-${VARIANT} RUN apt-get update + +# For building 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 + libssl-dev + +# For debugging +RUN apt install -y \ + podman \ + bpftrace + +# Install just +RUN curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to /usr/bin + +# Install docker with youki +COPY < [!TIP] +> You can immediately your environment with youki on GitHub Codespaces and try it out. +> +> [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/containers/youki?quickstart=1) +> ```console +> $ just build +> $ docker run --runtime youki hello-world +> $ sudo podman run --cgroup-manager=cgroupfs --runtime /workspaces/youki/youki hello-world +> ``` [User Documentation](https://containers.github.io/youki/user/basic_setup.html#quick-install) diff --git a/experiment/seccomp/rust-toolchain.toml b/experiment/seccomp/rust-toolchain.toml new file mode 100644 index 00000000..0433f520 --- /dev/null +++ b/experiment/seccomp/rust-toolchain.toml @@ -0,0 +1,3 @@ +[toolchain] +profile="default" +channel="1.77.1"