Add debian container

This commit is contained in:
badaix 2023-07-12 15:31:53 +00:00
parent 18c4a986a6
commit d3f11a62d0
3 changed files with 14 additions and 4 deletions

View file

@ -6,4 +6,4 @@ FROM mcr.microsoft.com/vscode/devcontainers/base:0-${VARIANT}
RUN echo "https://dl-cdn.alpinelinux.org/alpine/edge/testing/" >> /etc/apk/repositories
RUN apk add --no-cache bash librespot git alpine-sdk gdb libvorbis-dev soxr-dev flac-dev avahi-dev expat-dev boost-dev opus-dev alsa-lib-dev ninja
RUN apk update && apk upgrade && apk add --no-cache bash librespot git alpine-sdk gdb libvorbis-dev soxr-dev flac-dev avahi-dev expat-dev boost-dev opus-dev alsa-lib-dev ninja ccache libstdc++ clang clang-dev

View file

@ -0,0 +1,10 @@
ARG VARIANT="debian-11"
FROM mcr.microsoft.com/devcontainers/cpp:1-${VARIANT}
# [Optional] Uncomment this section to install additional packages.
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
&& apt-get -y install --no-install-recommends \
build-essential cmake \
libasound2-dev libpulse-dev libvorbisidec-dev libvorbis-dev libopus-dev libflac-dev \
libsoxr-dev alsa-utils libavahi-client-dev avahi-daemon libexpat1-dev libboost-dev \
cmake-format ccache

View file

@ -1,10 +1,10 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.238.0/containers/cpp
{
"name": "Alpine",
"name": "Snapcast-dev",
"build": {
"dockerfile": "Dockerfile.alpine",
"args": { "VARIANT": "alpine" }
"dockerfile": "Dockerfile.debian",
// "args": { "VARIANT": "alpine" }
},
"runArgs": ["--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined"],