aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--README.md21
-rw-r--r--support/docker/dev/Dockerfile20
2 files changed, 35 insertions, 6 deletions
diff --git a/README.md b/README.md
index 68b5dc519..fadf3f801 100644
--- a/README.md
+++ b/README.md
@@ -129,13 +129,22 @@ See [wiki](https://github.com/Chocobozzz/PeerTube/wiki) for complete installatio
129 129
130#### Debian 130#### Debian
131 131
132 * Install NodeJS 6.x (actual LTS): [https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions](https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions) 132 1. Install NodeJS 6.x (previous LTS): [https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions](https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions)
133 * Install yarn: [https://yarnpkg.com/en/docs/install](https://yarnpkg.com/en/docs/install) 133 2. Install yarn: [https://yarnpkg.com/en/docs/install](https://yarnpkg.com/en/docs/install)
134 * Add jessie backports to your *source.list*: http://backports.debian.org/Instructions/ 134 3. Add jessie backports to your *source.list*: http://backports.debian.org/Instructions/
135 * Run: 135 4. Run:
136 136
137 # apt-get update 137 $ apt-get update
138 # apt-get install ffmpeg postgresql-9.4 openssl 138 $ apt-get install ffmpeg postgresql-9.4 openssl
139
140#### Ubuntu 16.04
141
142 1. Install NodeJS 8.x (current LTS): (same as Debian)
143 2. Install yarn: (same as Debian)
144 3. Run:
145
146 $ apt-get update
147 $ apt-get install ffmpeg postgresql openssl
139 148
140#### Other distribution... (PR welcome) 149#### Other distribution... (PR welcome)
141 150
diff --git a/support/docker/dev/Dockerfile b/support/docker/dev/Dockerfile
new file mode 100644
index 000000000..2328140fb
--- /dev/null
+++ b/support/docker/dev/Dockerfile
@@ -0,0 +1,20 @@
1FROM janx/ubuntu-dev
2MAINTAINER Jan Keromnes <janx@linux.com>
3
4# Install PeerTube's dependencies.
5# Packages are from https://github.com/Chocobozzz/PeerTube#dependencies
6RUN sudo apt-get update -q && sudo apt-get install -qy \
7 ffmpeg \
8 postgresql \
9 openssl
10
11# Download PeerTube's source code.
12RUN git clone -b develop https://github.com/Chocobozzz/PeerTube /home/user/PeerTube
13WORKDIR /home/user/PeerTube
14
15# Configure Cloud9 IDE to use PeerTube's source directory as workspace (-w).
16RUN sudo sed -i "s/-w \/home\/user/-w \/home\/user\/PeerTube/" /etc/supervisord.conf
17
18# Configure and build PeerTube.
19RUN yarn install \
20 && npm run build