]>
Commit | Line | Data |
---|---|---|
0cfcbae8 JK |
1 | FROM gitpod/workspace-postgres |
2 | ||
387d041b JK |
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 | ||
0cfcbae8 JK |
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. | |
30621122 | 14 | COPY --chown=gitpod:gitpod support/docker/gitpod/setup_postgres.sql /tmp/ |
44daca1f | 15 | RUN pg_start && psql -h localhost -d postgres --file=/tmp/setup_postgres.sql && pg_stop |