Skip to content
This repository was archived by the owner on Feb 11, 2023. It is now read-only.

Commit 77efb27

Browse files
authored
Merge pull request #10 from linuxserver-labs/APP_VERSION
2 parents 34c6bd4 + af37de5 commit 77efb27

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
FROM 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

88
RUN \
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 \

0 commit comments

Comments
 (0)