Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile.pulseaudio.template
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
ARG BALENA_ARCH=%%BALENA_ARCH%%

# Build process from: https://git.alpinelinux.org/aports/tree/testing/librespot/APKBUILD
FROM balenalib/$BALENA_ARCH-alpine:edge as librespot-builder
FROM balenalib/$BALENA_ARCH-alpine:edge AS librespot-builder
WORKDIR /app

ARG LIBRESPOT_VERSION=0.4.2

RUN install_packages alsa-lib-dev pulseaudio-dev cargo curl

RUN curl -sL "https://github.com/librespot-org/librespot/archive/refs/tags/v${LIBRESPOT_VERSION}.tar.gz" --output librespot.tar.gz && \
RUN curl -sL "https://github.com/librespot-org/librespot/archive/dev.tar.gz" --output librespot.tar.gz && \
mkdir /app/librespot-src && \
tar -zxvf librespot.tar.gz --directory /app/librespot-src --strip-components=1

Expand Down
4 changes: 2 additions & 2 deletions scripts/build-pulseaudio.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ function create_and_push_manifest() {
docker manifest push $NAME:$TAG
}

LIBRESPOT_VERSION="0.4.2"
DOCKER_NAMESPACE="tmigone"
LIBRESPOT_VERSION="0.4.2-dev"
DOCKER_NAMESPACE="brettmillerit"

build_and_push_image "Dockerfile.pulseaudio.template" "${DOCKER_NAMESPACE}/librespot:$LIBRESPOT_VERSION-pulseaudio-rpi" "rpi" "linux/arm/v6" "$LIBRESPOT_VERSION"
build_and_push_image "Dockerfile.pulseaudio.template" "${DOCKER_NAMESPACE}/librespot:$LIBRESPOT_VERSION-pulseaudio-armv7hf" "armv7hf" "linux/arm/v7" "$LIBRESPOT_VERSION"
Expand Down