We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2a4bca commit e957176Copy full SHA for e957176
image/discourse_test/Dockerfile
@@ -10,6 +10,12 @@ ENV LANG en_US.UTF-8
10
RUN sudo -E -u discourse -H git config --global user.email "you@example.com" &&\
11
sudo -E -u discourse -H git config --global user.name "Your Name"
12
13
+# Include postgres and redis on test images
14
+RUN --mount=type=tmpfs,target=/var/log \
15
+ apt-get -y update && DEBIAN_FRONTEND=noninteractive apt-get -y install \
16
+ postgresql-${PG_MAJOR} postgresql-contrib-${PG_MAJOR} postgresql-${PG_MAJOR}-pgvector
17
+RUN /tmp/install-redis
18
+
19
RUN chown -R discourse . &&\
20
chown -R discourse /var/run/postgresql &&\
21
bundle config unset deployment &&\
0 commit comments