| 1 |
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.154.2/containers/cpp/.devcontainer/base.Dockerfile |
| 2 |
|
| 3 |
# [Choice] Debian / Ubuntu version: debian-10, debian-9, ubuntu-20.04, ubuntu-18.04 |
| 4 |
ARG VARIANT |
| 5 |
|
| 6 |
FROM mcr.microsoft.com/vscode/devcontainers/cpp:0-${VARIANT} |
| 7 |
|
| 8 |
# hadolint ignore=DL3003,DL3008 |
| 9 |
RUN apt-get update \ |
| 10 |
&& export DEBIAN_FRONTEND=noninteractive \ |
| 11 |
&& apt-get -y install --no-install-recommends \ |
| 12 |
build-essential autoconf automake libtool pkg-config libnl-3-dev libnl-genl-3-dev libssl-dev \ |
| 13 |
ethtool shtool rfkill zlib1g-dev libpcap-dev libsqlite3-dev libpcre2-dev libhwloc-dev \ |
| 14 |
libcmocka-dev hostapd wpasupplicant tcpdump screen iw usbutils expect gawk bear \ |
| 15 |
libtinfo5 \ |
| 16 |
clangd-14 \ |
| 17 |
clang-format-14 \ |
| 18 |
python3-pip \ |
| 19 |
&& rm -rf /var/lib/apt/lists/* \ |
| 20 |
&& /usr/bin/pip3 install pre-commit |