File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ RUN gpg --import /tmp/nginx_public_keys.key &&\
3434FROM discourse/ruby:${RUBY_VERSION}-${DEBIAN_RELEASE}-slim AS discourse_dependencies
3535
3636ARG DEBIAN_RELEASE
37+ ARG PG_MAJOR
3738ENV PG_MAJOR=${PG_MAJOR} \
3839 RUBY_ALLOCATOR=/usr/lib/libjemalloc.so \
3940 LEFTHOOK=0 \
@@ -181,6 +182,7 @@ RUN cd /var/www/discourse &&\
181182 sudo -u discourse /bin/bash -c 'if [ -f yarn.lock ]; then yarn install --frozen-lockfile && yarn cache clean; else pnpm install --frozen-lockfile; fi'
182183
183184FROM discourse_web_only AS discourse_release
185+ ARG PG_MAJOR
184186RUN --mount=type=tmpfs,target=/var/log \
185187 postgresql-${PG_MAJOR} postgresql-contrib-${PG_MAJOR} postgresql-${PG_MAJOR}-pgvector \
186188RUN /tmp/install-redis
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ USER discourse
1010RUN git clone https://github.com/discourse/discourse . --depth 1
1111
1212FROM discourse/base:$from_tag
13+ ARG PG_MAJOR=15
1314
1415# LABEL maintainer="Sam Saffron \"https://twitter.com/samsaffron\""
1516
You can’t perform that action at this time.
0 commit comments