pass some environment stuff

This commit is contained in:
Mark Smith 2022-10-10 08:19:22 +00:00
parent 8c870486cd
commit 7ecea71f20
3 changed files with 4 additions and 2 deletions

View File

@ -14,7 +14,7 @@ ENV LJHOME /dw
# Install some packages we need in web only.
RUN echo $COMMIT && \
apt-get update && \
apt-get install -y mysql-client && \
apt-get install -y mysql-client vim-tiny && \
curl https://raw.githubusercontent.com/dreamwidth/dw-free/master/doc/dependencies-system | \
xargs apt-get -y install && \
curl https://raw.githubusercontent.com/dreamwidth/dw-free/master/doc/dependencies-cpanm | \

View File

@ -19,6 +19,8 @@ CustomLog /var/log/apache2/dreamwidth_options.log dreamwidth env=optionsreq
# Invoke the beast.
DocumentRoot /dw/htdocs
PerlPassEnv LJHOME
PerlPassEnv AWS_DEFAULT_REGION
PerlPassEnv AWS_CONTAINER_CREDENTIALS_RELATIVE_URI
PerlRequire /dw/cgi-bin/modperl.pl
<Location />

View File

@ -14,7 +14,7 @@ ENV LJHOME /dw
# Install some packages we need in workers only.
RUN echo $COMMIT && \
apt-get update && \
apt-get install -y mysql-client && \
apt-get install -y mysql-client vim-tiny && \
curl https://raw.githubusercontent.com/dreamwidth/dw-free/master/doc/dependencies-system | \
xargs apt-get -y install && \
curl https://raw.githubusercontent.com/dreamwidth/dw-free/master/doc/dependencies-cpanm | \