pass some environment stuff
This commit is contained in:
parent
8c870486cd
commit
7ecea71f20
|
@ -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 | \
|
||||
|
|
|
@ -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 />
|
||||
|
|
|
@ -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 | \
|
||||
|
|
Loading…
Reference in New Issue