jellyfin-archive / jellyfin-android-original

Android Client for Jellyfin
https://jellyfin.org
GNU General Public License v2.0
272 stars 65 forks source link

update docker RELEASE tags #322

Closed Artiume closed 4 years ago

Artiume commented 4 years ago

Not sure if this is correct or not, following the warnings. This branch is based off https://github.com/jellyfin/jellyfin-android/pull/238 so it probably just needs to be rebased to fix the build issue.

artiume@noder:~/test/jellyfin-android$ docker run --rm -e "RELEASE=development" -v "/home/artiume/test:/dist" "jellyfin-android"
+ RELEASE=development
+ case "${RELEASE}" in
+ echo error: release may only be production, unminified, foss, or debug
error: release may only be production, unminified, foss, or debug
+ exit 1
artiume@noder:~/test/jellyfin-android$ docker run --rm -e "RELEASE=debug" -v "/home/artiume/test:/dist" "jellyfin-android"
+ RELEASE=debug
+ case "${RELEASE}" in
+ RELEASE_SUFFIX=
+ NODE_ENV=development
+ RFLAG=--debug
+ RELEASE_OUTPUT_DIR=debug
+ export ANDROID_HOME=/usr/lib/android-sdk
+ ANDROID_HOME=/usr/lib/android-sdk
+ export NODE_ENV
+ pushd /repo
/repo /
+ npm cache verify
Cache verified and compressed (~/.npm/_cacache):
Content verified: 3 (7313135 bytes)
Index entries: 3
Finished in 0.159s
+ npm config set unsafe-perm true
+ npm ci
npm WARN prepare removing existing node_modules/ before installation
npm ERR! cipm can only install packages with an existing package-lock.json or npm-shrinkwrap.json with lockfileVersion >= 1. Run an install with npm@5 or later to generate it, then try again.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-04-25T02_23_31_028Z-debug.log
artiume@noder:~/test/jellyfin-android$
dkanada commented 4 years ago

You must be using an older dockerfile because the values are correct on the latest master.