Dockerfile 489 B

123456789101112131415
  1. FROM alpine:3.13.1
  2. ARG LIBRESPOT_PACKAGE_REPOSITORY=http://dl-cdn.alpinelinux.org/alpine/edge/testing
  3. ARG LIBRESPOT_PACKAGE_VERSION=0.1.3-r1
  4. ENV LIBRESPOT_CACHE_PATH=/var/cache/librespot
  5. RUN apk add --repository=$LIBRESPOT_PACKAGE_REPOSITORY --no-cache \
  6. librespot=$LIBRESPOT_PACKAGE_VERSION \
  7. && mkdir $LIBRESPOT_CACHE_PATH \
  8. && chown librespot $LIBRESPOT_CACHE_PATH
  9. VOLUME $LIBRESPOT_CACHE_PATH
  10. RUN apk add --no-cache strace
  11. USER librespot
  12. CMD ["librespot", "--help"]