Merge pull request #61 from rigrig/main

use `apt-get` instead of `apt` in Dockerfile
pull/75/head
Harvey Tindall 4 years ago committed by GitHub
commit ca00796077
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2,10 +2,10 @@ FROM --platform=$BUILDPLATFORM golang:latest AS support
COPY . /opt/build COPY . /opt/build
RUN apt update -y \ RUN apt-get update -y \
&& apt install build-essential python3-pip curl software-properties-common sed -y \ && apt-get install build-essential python3-pip curl software-properties-common sed -y \
&& (curl -sL https://deb.nodesource.com/setup_14.x | bash -) \ && (curl -sL https://deb.nodesource.com/setup_14.x | bash -) \
&& apt install nodejs \ && apt-get install nodejs \
&& (cd /opt/build; make configuration npm email version typescript bundle-css swagger copy external-files GOESBUILD=on) \ && (cd /opt/build; make configuration npm email version typescript bundle-css swagger copy external-files GOESBUILD=on) \
&& sed -i 's#id="password_resets-watch_directory" placeholder="/config/jellyfin"#id="password_resets-watch_directory" value="/jf" disabled#g' /opt/build/build/data/html/setup.html && sed -i 's#id="password_resets-watch_directory" placeholder="/config/jellyfin"#id="password_resets-watch_directory" value="/jf" disabled#g' /opt/build/build/data/html/setup.html

Loading…
Cancel
Save