File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ FROM ghcr.io/linuxserver/baseimage-alpine:edge AS librespot
2+
3+ ARG LIBRESPOT_COMMIT=ba3d501b08345aadf207d09b3a0713853228ba64
4+
5+ RUN apk add --no-cache alsa-lib-dev cargo curl alpine-sdk git coreutils cargo-auditable
6+ RUN curl "https://codeload.github.com/librespot-org/librespot/zip/${LIBRESPOT_COMMIT}" -o 'librespot.zip' && \
7+ unzip -qq 'librespot.zip' -d 'librespot' && \
8+ cd "librespot/librespot-${LIBRESPOT_COMMIT}" && \
9+ ls && \
10+ cargo fetch --locked && \
11+ cargo auditable build --release --frozen --features alsa-backend && \
12+ cp target/release/librespot /usr/bin/librespot
13+
114FROM ghcr.io/linuxserver/baseimage-alpine:edge
215
316ARG LIBRESPOT_VERSION=0.6.0-r0
@@ -9,6 +22,8 @@ RUN apk add --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community --
922RUN apk add --repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing --no-cache librespot=${LIBRESPOT_VERSION}
1023RUN apk add --repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing --no-cache snapweb=${SNAPWEB_VERSION}
1124
25+ COPY --from=0 /usr/bin/librespot /usr/bin/librespot
26+
1227COPY root/ /
1328
1429EXPOSE 1704/tcp 1705/tcp
You can’t perform that action at this time.
0 commit comments