2019-01-30 03:39:42 -05:00
|
|
|
FROM gitpod/workspace-postgres
|
|
|
|
|
|
|
|
# Install PeerTube's dependencies.
|
|
|
|
RUN sudo apt-get update -q && sudo apt-get install -qy \
|
|
|
|
ffmpeg \
|
|
|
|
openssl \
|
|
|
|
redis-server
|
|
|
|
|
|
|
|
# Set up PostgreSQL.
|
2019-11-27 21:00:43 -05:00
|
|
|
COPY --chown=gitpod:gitpod support/docker/gitpod/setup_postgres.sql /tmp/
|
2019-12-03 11:21:47 -05:00
|
|
|
RUN pg_start && psql -h localhost -d postgres --file=/tmp/setup_postgres.sql && pg_stop
|