Add version support
This commit is contained in:
parent
0cb6922bf0
commit
ff8058b655
|
@ -1,5 +1,7 @@
|
|||
FROM debian:jessie-slim
|
||||
|
||||
ARG PEERTUBE_VER=develop
|
||||
|
||||
ENV UID=991 GID=991 \
|
||||
HTTPS=false \
|
||||
HOSTNAME=peertube.localhost \
|
||||
|
@ -35,7 +37,7 @@ RUN groupadd -g 991 peertube && useradd -u 991 -g 991 --create-home peertube \
|
|||
&& apt-get update \
|
||||
&& apt-get -y install -y nodejs yarn --no-install-recommends \
|
||||
&& echo "****** Clone Peertube ******" \
|
||||
&& git clone --branch develop https://github.com/Chocobozzz/PeerTube /PeerTube \
|
||||
&& git clone --branch ${PEERTUBE_VER} https://github.com/Chocobozzz/PeerTube /PeerTube \
|
||||
&& echo "****** chown ******" \
|
||||
&& chown -R peertube:peertube PeerTube \
|
||||
&& cd /PeerTube \
|
||||
|
|
Reference in a new issue