]>
Commit | Line | Data |
---|---|---|
1 | FROM gitpod/workspace-postgres | |
2 | ||
3 | # Gitpod will not rebuild PeerTube's dev image unless *some* change is made to this Dockerfile. | |
4 | # To trigger a rebuild, simply increase this counter: | |
5 | ENV TRIGGER_REBUILD 1 | |
6 | ||
7 | # Install PeerTube's dependencies. | |
8 | RUN sudo apt-get update -q && sudo apt-get install -qy \ | |
9 | ffmpeg \ | |
10 | openssl \ | |
11 | redis-server | |
12 | ||
13 | # Set up PostgreSQL. | |
14 | COPY --chown=gitpod:gitpod support/docker/gitpod/setup_postgres.sql /tmp/ | |
15 | RUN pg_start && psql -h localhost -d postgres --file=/tmp/setup_postgres.sql && pg_stop |