mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-11-22 08:46:54 -06:00
Add a PeerTube development environment Dockerfile compatible with Janitor. (#144)
* Add a PeerTube development environment Dockerfile. * Clone from develop instead of master in developer Dockerfile.
This commit is contained in:
parent
0273fe8102
commit
492fd28167
20
support/docker/dev/Dockerfile
Normal file
20
support/docker/dev/Dockerfile
Normal file
@ -0,0 +1,20 @@
|
||||
FROM janx/ubuntu-dev
|
||||
MAINTAINER Jan Keromnes <janx@linux.com>
|
||||
|
||||
# Install PeerTube's dependencies.
|
||||
# Packages are from https://github.com/Chocobozzz/PeerTube#dependencies
|
||||
RUN sudo apt-get update -q && sudo apt-get install -qy \
|
||||
ffmpeg \
|
||||
postgresql \
|
||||
openssl
|
||||
|
||||
# Download PeerTube's source code.
|
||||
RUN git clone -b develop https://github.com/Chocobozzz/PeerTube /home/user/PeerTube
|
||||
WORKDIR /home/user/PeerTube
|
||||
|
||||
# Configure Cloud9 IDE to use PeerTube's source directory as workspace (-w).
|
||||
RUN sudo sed -i "s/-w \/home\/user/-w \/home\/user\/PeerTube/" /etc/supervisord.conf
|
||||
|
||||
# Configure and build PeerTube.
|
||||
RUN yarn install \
|
||||
&& npm run build
|
Loading…
Reference in New Issue
Block a user