mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-03 13:53:37 -05:00
move install latexmk and path higher up
This commit is contained in:
parent
9479ee4cbb
commit
f3c2c11dc8
1 changed files with 9 additions and 8 deletions
17
Dockerfile
17
Dockerfile
|
@ -19,6 +19,14 @@ RUN wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz; \
|
|||
RUN echo "selected_scheme scheme-basic" >> /install-tl-unx/texlive.profile; \
|
||||
/install-tl-unx/install-tl -profile /install-tl-unx/texlive.profile
|
||||
|
||||
|
||||
RUN rm -r /install-tl-unx; \
|
||||
rm install-tl-unx.tar.gz
|
||||
|
||||
ENV PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/texlive/2016/bin/x86_64-linux/
|
||||
RUN tlmgr install latexmk
|
||||
|
||||
|
||||
# Install Node.js and Grunt
|
||||
RUN npm install -g grunt-cli
|
||||
|
||||
|
@ -34,7 +42,7 @@ RUN adduser --system --group --home /var/www/sharelatex --no-create-home sharela
|
|||
|
||||
|
||||
# Install ShareLaTeX
|
||||
RUN git clone https://github.com/sharelatex/sharelatex.git /var/www/sharelatex
|
||||
RUN git clone https://github.com/sharelatex/sharelatex.git /var/www/sharelatex #random_change
|
||||
|
||||
ADD ${baseDir}/services.js /var/www/sharelatex/config/services.js
|
||||
ADD ${baseDir}/package.json /var/www/package.json
|
||||
|
@ -85,13 +93,6 @@ RUN rm /etc/nginx/sites-enabled/default
|
|||
ADD ${baseDir}/nginx/nginx.conf /etc/nginx/nginx.conf
|
||||
ADD ${baseDir}/nginx/sharelatex.conf /etc/nginx/sites-enabled/sharelatex.conf
|
||||
|
||||
RUN rm -r /install-tl-unx; \
|
||||
rm install-tl-unx.tar.gz
|
||||
|
||||
ENV PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/texlive/2016/bin/x86_64-linux/
|
||||
RUN apt-get update
|
||||
RUN tlmgr install latexmk
|
||||
|
||||
# phusion/baseimage init script
|
||||
ADD ${baseDir}/init_scripts/00_regen_sharelatex_secrets.sh /etc/my_init.d/00_regen_sharelatex_secrets.sh
|
||||
ADD ${baseDir}/init_scripts/00_make_sharelatex_data_dirs.sh /etc/my_init.d/00_make_sharelatex_data_dirs.sh
|
||||
|
|
Loading…
Reference in a new issue