Skip to content

Commit 7ae90bc

Browse files
committed
adding build logic for web development container
1 parent c3f8cff commit 7ae90bc

File tree

6 files changed

+1349
-7
lines changed

6 files changed

+1349
-7
lines changed

Dockerfile

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ COPY --from=c9files /buildout/ /
99
# set version label
1010
ARG BUILD_DATE
1111
ARG VERSION
12-
ARG FFMPEGWEB_COMMIT
1312
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
1413
LABEL maintainer="thelamer"
1514

@@ -46,16 +45,12 @@ RUN \
4645
sudo && \
4746
npm install -g nodemon && \
4847
echo "**** install web app from git ****" && \
49-
if [ -z ${FFMPEGWEB_COMMIT+x} ]; then \
50-
FFMPEGWEB_COMMIT=$(curl -sX GET https://api.github.com/repos/linuxserver/docker-ffmpeg/commits/web \
51-
| awk '/sha/{print $4;exit}' FS='[""]'); \
52-
fi && \
5348
git clone \
5449
https://github.com/linuxserver/docker-ffmpeg.git \
5550
/app/ffmpeg-web && \
5651
cd /app/ffmpeg-web && \
5752
git \
58-
checkout -f ${FFMPEGWEB_COMMIT} && \
53+
checkout -f web && \
5954
pip3 install \
6055
-r requirements.txt && \
6156
echo "**** permissions ****" && \

0 commit comments

Comments
 (0)