瀏覽代碼

raspberry pi dockerfile: enable pulseaudio & jackaudio backend

Fabian Peter Hammerle 4 年之前
父節點
當前提交
e671cd45b0
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      contrib/Dockerfile.Rpi

+ 3 - 1
contrib/Dockerfile.Rpi

@@ -39,10 +39,12 @@ ENV CARGO_HOME /build/cache
 ENV PKG_CONFIG_PATH /usr/lib/arm-linux-gnueabihf/pkgconfig/
 ENV PKG_CONFIG_ALLOW_CROSS 1
 
+RUN apt-get install -y libpulse-dev:armhf libjack-dev:armhf
+
 ADD . /src
 WORKDIR /src
 
-RUN cargo build --release --target arm-unknown-linux-gnueabihf --no-default-features --features "alsa-backend"
+RUN cargo build --release --target arm-unknown-linux-gnueabihf --no-default-features --features "alsa-backend,pulseaudio-backend,jackaudio-backend"
 
 
 FROM resin/rpi-raspbian