This repository was archived by the owner on Feb 11, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 11FROM ghcr.io/linuxserver/baseimage-alpine:3.15 as server-buildstage
22
33# set version label
4- ARG YOUR_SPOTIFY_RELEASE
5- LABEL build_version= "Linuxserver.io version:- ${YOUR_SPOTIFY_RELEASE}"
6- LABEL maintainer= "thespad"
4+ ARG BUILD_DATE
5+ ARG VERSION
6+ ARG APP_VERSION
77
88RUN \
99 apk -U --update --no-cache add --virtual=server-build-dependencies \
@@ -18,13 +18,13 @@ RUN \
1818 python3-dev \
1919 yarn && \
2020 echo "*** install your_spotify server ***" && \
21- if [ -z ${YOUR_SPOTIFY_RELEASE +x} ]; then \
22- YOUR_SPOTIFY_RELEASE =$(curl -sX GET "https://api.github.com/repos/Yooooomi/your_spotify/releases/latest" \
21+ if [ -z ${APP_VERSION +x} ]; then \
22+ APP_VERSION =$(curl -sX GET "https://api.github.com/repos/Yooooomi/your_spotify/releases/latest" \
2323 | awk '/tag_name/{print $4;exit}' FS='[""]' ); \
2424 fi && \
2525 curl -o \
2626 /tmp/your_spotify.tar.gz -L \
27- "https://github.com/Yooooomi/your_spotify/archive/${YOUR_SPOTIFY_RELEASE }.tar.gz" && \
27+ "https://github.com/Yooooomi/your_spotify/archive/${APP_VERSION }.tar.gz" && \
2828 mkdir -p /app/your_spotify && \
2929 tar xzf \
3030 /tmp/your_spotify.tar.gz -C \
You can’t perform that action at this time.
0 commit comments