win32api-linux-dev-template/.devcontainer/Dockerfile

24 lines
1.0 KiB
Docker
Raw Normal View History

2023-09-18 14:09:05 +03:00
# [Choice] Debian / Ubuntu version (use Debian 12, Debian 11, Ubuntu 22.04 on local arm64/Apple Silicon): debian-12, debian-11, debian-10, ubuntu-22.04, ubuntu-20.04
ARG VARIANT=debian-12
FROM mcr.microsoft.com/devcontainers/base:${VARIANT}
USER root
# Install needed packages. Use a separate RUN statement to add your own dependencies.
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
&& apt-get -y install build-essential cmake cppcheck valgrind clang lldb llvm gdb \
&& apt-get autoremove -y && apt-get clean -y && rm -rf /var/lib/apt/lists/*
# [Optional] Uncomment this section to install additional OS packages.
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
&& apt-get -y install --no-install-recommends \
mingw-w64 \
mingw-w64-i686-dev \
mingw-w64-x86-64-dev \
gdb-mingw-w64 \
gdb-mingw-w64-target \
clang-format \
ninja-build \
2023-10-13 16:03:04 +03:00
&& apt-get autoremove -y && apt-get clean -y && rm -rf /var/lib/apt/lists/*
COPY locale.gen /etc/
RUN locale-gen