1212# ********************************************************************************/
1313
1414# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.245.2/containers/debian/.devcontainer/base.Dockerfile
15-
16- # [Choice] Debian version (use bullseye on local arm64/Apple Silicon): bullseye, buster
17- ARG VARIANT="buster"
18- FROM mcr.microsoft.com/vscode/devcontainers/base:0-${VARIANT}
19-
20- # ** [Optional] Uncomment this section to install additional packages. **
21- # RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
22- # && apt-get -y install --no-install-recommends <your-package-list-here>
15+ FROM mcr.microsoft.com/devcontainers/base:debian
2316
2417# Install Dependencies
2518RUN apt-get update
2619RUN DEBIAN_FRONTEND=noninteractive apt-get -y install --no-install-recommends socat file gawk wget acl git diffstat unzip texinfo \
2720 gcc build-essential chrpath socat cpio python3 python3-pip python3-pexpect xz-utils debianutils \
28- iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev pylint3 xterm python3-subunit \
21+ iputils-ping python3-git python3-jinja2 libsdl1.2-dev pylint xterm python3-subunit \
2922 mesa-common-dev zstd liblz4-tool tmux mc skopeo fdisk ruby-full jq \
3023 libvirt-clients libvirt-daemon-system qemu-system-x86 qemu-system-arm qemu-kvm \
3124 squashfs-tools rauc python3-newt
@@ -35,21 +28,6 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get -y install ca-certificates \
3528 gnupg \
3629 lsb-release
3730
38- # Install blobfuse2 since blobfuse1 is not avaialable in MS repos for Debian 11
39- RUN sudo apt-get -y install software-properties-common \
40- && curl -fsSL https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add - \
41- && sudo apt-add-repository https://packages.microsoft.com/debian/11/prod/ \
42- && sudo apt-get -y update \
43- && sudo apt-get -y install libfuse3-dev fuse3 blobfuse2
44-
45- # Update RAUC to 1.8.1 from Debian Testing channel
46- RUN sudo apt-add-repository 'deb http://deb.debian.org/debian/ testing main' \
47- && sudo apt-get -y update \
48- && sudo apt-get -y install -t testing rauc
49-
50- # Try to enable KVM to improve performance of qemu-system-x86 on x86 hosts.
51- # This is also run in post-attach.sh
52- RUN /bin/bash -c "(groupadd --system kvm; gpasswd -a vscode kvm; chown root:kvm /dev/kvm; chmod 0660 /dev/kvm; echo 'KVM permissions set up') || true"
53-
5431# Install kas tool to set up Yocto build environment
55- RUN pip3 install kas
32+ RUN apt-get install -y pipx
33+ RUN pipx install kas
0 commit comments