diff options
author | Jan Keromnes <jan.keromnes@typefox.io> | 2019-01-30 08:39:42 +0000 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2019-04-12 09:25:43 +0200 |
commit | 0cfcbae8189353a1ad29bafbd520e6965290f367 (patch) | |
tree | 05b3a7c612c2fb8b7be7fc87dc4439b00b4bf6fd /support/docker/gitpod/Dockerfile | |
parent | cda03765fe366f028897e9b02dd4a0a19af3c935 (diff) | |
download | PeerTube-0cfcbae8189353a1ad29bafbd520e6965290f367.tar.gz PeerTube-0cfcbae8189353a1ad29bafbd520e6965290f367.tar.zst PeerTube-0cfcbae8189353a1ad29bafbd520e6965290f367.zip |
Add automated dev setup using Gitpod
Diffstat (limited to 'support/docker/gitpod/Dockerfile')
-rw-r--r-- | support/docker/gitpod/Dockerfile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/support/docker/gitpod/Dockerfile b/support/docker/gitpod/Dockerfile new file mode 100644 index 000000000..435370dc4 --- /dev/null +++ b/support/docker/gitpod/Dockerfile | |||
@@ -0,0 +1,11 @@ | |||
1 | FROM gitpod/workspace-postgres | ||
2 | |||
3 | # Install PeerTube's dependencies. | ||
4 | RUN sudo apt-get update -q && sudo apt-get install -qy \ | ||
5 | ffmpeg \ | ||
6 | openssl \ | ||
7 | redis-server | ||
8 | |||
9 | # Set up PostgreSQL. | ||
10 | COPY --chown=gitpod:gitpod setup_postgres.sql /tmp/ | ||
11 | RUN pg_start && psql -h localhost -d postgres --file=/tmp/setup_postgres.sql | ||