Adding alsa lib and cpal
This commit is contained in:
@@ -4,11 +4,22 @@ FROM mcr.microsoft.com/devcontainers/rust:1-1-bookworm
|
||||
# Install ARM cross-compilation toolchain packages
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends \
|
||||
gdb-multiarch \
|
||||
gcc-arm-linux-gnueabihf \
|
||||
g++-arm-linux-gnueabihf \
|
||||
binutils-arm-linux-gnueabihf && \
|
||||
gdb-multiarch \
|
||||
gcc-arm-linux-gnueabihf \
|
||||
g++-arm-linux-gnueabihf \
|
||||
binutils-arm-linux-gnueabihf && \
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN rustup target add armv7-unknown-linux-gnueabihf
|
||||
# install arm32 cross-compiler
|
||||
RUN dpkg --add-architecture armhf && \
|
||||
apt update && \
|
||||
apt install -y \
|
||||
libasound2-dev:armhf && \
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN rustup target add armv7-unknown-linux-gnueabihf
|
||||
|
||||
ENV PKG_CONFIG_LIBDIR=/usr/lib/arm-linux-gnueabihf/pkgconfig
|
||||
ENV PKG_CONFIG_ALLOW_CROSS=true
|
||||
Reference in New Issue
Block a user