Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions image/discourse_test/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ ENV LANG en_US.UTF-8
RUN sudo -E -u discourse -H git config --global user.email "[email protected]" &&\
sudo -E -u discourse -H git config --global user.name "Your Name"

# Include postgres and redis on test images
RUN --mount=type=tmpfs,target=/var/log \
apt-get -y update && DEBIAN_FRONTEND=noninteractive apt-get -y install \
postgresql-${PG_MAJOR} postgresql-contrib-${PG_MAJOR} postgresql-${PG_MAJOR}-pgvector
RUN /tmp/install-redis

RUN chown -R discourse . &&\
chown -R discourse /var/run/postgresql &&\
bundle config unset deployment &&\
Expand Down