aboutsummaryrefslogblamecommitdiffhomepage
path: root/support/docker/gitpod/Dockerfile
blob: 435370dc41f1c188a8fb4ceba6056bd8d882a7d1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                            
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.
COPY --chown=gitpod:gitpod setup_postgres.sql /tmp/
RUN pg_start && psql -h localhost -d postgres --file=/tmp/setup_postgres.sql