Skip to content

Commit 37bd977

Browse files
committed
Use microsoft devcontainer base image
1 parent 9821834 commit 37bd977

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.devcontainer/Dockerfile

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
FROM debian:bookworm
1+
FROM mcr.microsoft.com/devcontainers/base:bookworm
22

3-
RUN env DEBIAN_FRONTEND=noninteractive \
4-
apt-get update
5-
6-
RUN env DEBIAN_FRONTEND=noninteractive \
7-
apt-get install -y \
8-
gdb git cmake ninja-build pkg-config nano clang clang-format clang-tidy clang-tools \
9-
libgl1-mesa-dev libgles2-mesa-dev libegl1-mesa-dev libdrm-dev libgbm-dev fonts-liberation fontconfig libsystemd-dev libinput-dev libudev-dev libxkbcommon-dev libseat-dev \
10-
libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-bad1.0-dev gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly gstreamer1.0-plugins-bad gstreamer1.0-libav gstreamer1.0-alsa
3+
RUN env DEBIAN_FRONTEND=noninteractive apt-get update && \
4+
env DEBIAN_FRONTEND=noninteractive apt-get install -y \
5+
gdb git cmake ninja-build pkg-config nano clang clang-format clang-tidy clang-tools \
6+
libgl1-mesa-dev libgles2-mesa-dev libegl1-mesa-dev libdrm-dev libgbm-dev fonts-liberation fontconfig libsystemd-dev libinput-dev libudev-dev libxkbcommon-dev libseat-dev \
7+
libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-bad1.0-dev gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly gstreamer1.0-plugins-bad gstreamer1.0-libav gstreamer1.0-alsa \
8+
libcurl4-openssl-dev

.devcontainer/devcontainer.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"build": {
88
"dockerfile": "Dockerfile"
99
},
10+
1011
// Features to add to the dev container. More info: https://containers.dev/features.
1112
"features": {
1213
"ghcr.io/devcontainers/features/github-cli:1": {}
@@ -18,6 +19,7 @@
1819
"type": "volume"
1920
}
2021
],
22+
2123
// Use 'forwardPorts' to make a list of ports inside the container available locally.
2224
// "forwardPorts": [],
2325
// Configure tool-specific properties.

0 commit comments

Comments
 (0)