mirror of
https://github.com/badaix/snapcast.git
synced 2025-04-30 02:37:15 +02:00
Add debian container
This commit is contained in:
parent
18c4a986a6
commit
d3f11a62d0
3 changed files with 14 additions and 4 deletions
|
@ -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 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
|
||||||
|
|
10
.devcontainer/Dockerfile.debian
Normal file
10
.devcontainer/Dockerfile.debian
Normal 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
|
|
@ -1,10 +1,10 @@
|
||||||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
|
// 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
|
// https://github.com/microsoft/vscode-dev-containers/tree/v0.238.0/containers/cpp
|
||||||
{
|
{
|
||||||
"name": "Alpine",
|
"name": "Snapcast-dev",
|
||||||
"build": {
|
"build": {
|
||||||
"dockerfile": "Dockerfile.alpine",
|
"dockerfile": "Dockerfile.debian",
|
||||||
"args": { "VARIANT": "alpine" }
|
// "args": { "VARIANT": "alpine" }
|
||||||
},
|
},
|
||||||
"runArgs": ["--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined"],
|
"runArgs": ["--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined"],
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue