PeerTube/support/docker/gitpod/Dockerfile

16 lines
516 B
Docker
Raw Normal View History

2019-01-30 02:39:42 -06:00
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
2019-01-30 02:39:42 -06:00
# 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 20:00:43 -06:00
COPY --chown=gitpod:gitpod support/docker/gitpod/setup_postgres.sql /tmp/
2019-12-03 10:21:47 -06:00
RUN pg_start && psql -h localhost -d postgres --file=/tmp/setup_postgres.sql && pg_stop