From 68a5e8423d24835683d81b83b0989a3b50198670 Mon Sep 17 00:00:00 2001 From: Keisuke Umegaki <41987730+keisku@users.noreply.github.com> Date: Sun, 21 Jul 2024 21:31:50 +0900 Subject: [PATCH] follow building best practices (#2856) Signed-off-by: keisku --- .devcontainer/Dockerfile | 49 +++++++++++++++++++--------------------- 1 file changed, 23 insertions(+), 26 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index f5e999199..42af9f5a4 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,27 +1,6 @@ ARG VARIANT="bullseye" FROM mcr.microsoft.com/vscode/devcontainers/rust:1-${VARIANT} -RUN apt-get update - -# For building -RUN apt-get install -y \ - git \ - pkg-config \ - libsystemd-dev \ - build-essential \ - libelf-dev \ - libseccomp-dev \ - libclang-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 <