aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/docker/gitpod/Dockerfile
blob: e18c392bfceb89d8203fe4f4851a4645399e0b60 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM gitpod/workspace-postgres

# Gitpod will not rebuild PeerTube's dev image unless *some* change is made to this Dockerfile.
# To trigger a rebuild, simply increase this counter:
ENV TRIGGER_REBUILD 1

# 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 support/docker/gitpod/setup_postgres.sql /tmp/
RUN pg_start && psql -h localhost -d postgres --file=/tmp/setup_postgres.sql && pg_stop