Commit Graph
48 Commits
Author SHA1 Message Date
Jakob Ackermann b715f16a3b [misc] minimize the main stage (#122)
- cleanup git history
- do not install not needed npm packages
  - The Gruntfile was removed in
    REF: 27dd97ecc59954a5ad2d8b140f7d5a83073ca2c8

  - The simple-git package is not used since
    REF: df2d46df829872ccd6d9018dac3f2e6d9b9ae8d0
- cleanup npm cache
- cleanup node-gyp build cache
- cleanup /tmp
- move copying of the settings defaults after the installation

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
2020-02-13 16:38:58 +01:00
Jakob Ackermann ac82600b74 [misc] minimize base image (#120)
* [docker] drop sudo

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* [docker] install qpdf in a single stage

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* [docker] install texlive and additional tlmgr packages in a single stage

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* [docker] drop the apt package lists

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* [docker] pull the package lists only once

move the installation of nodejs into the dependencies install section

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* [docker] delete the default nginx configuration files immediately

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* [docker] skip the downloading and storage of unused texlive artifacts

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* [docker] drop the npm download cache

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* [docker] apply review feedback

- install qpdf as ubuntu package
- add a comment on the nginx config removal
- add back and update a note on changing the texlive mirror
2020-02-13 12:00:03 +01:00
Jakob Ackermann 16ca8f25c4 [misc] narrow down the rw accessible directories for the run user (#119) 2020-01-29 12:14:32 +01:00
Miguel Serrano 6a5f1588cc Set CRYPTO_RANDOM as environment variable at startup time (#134) 2020-01-28 07:16:23 +01:00
Jakob Ackermann 3783f03a83 [misc] export all git repository revisions
There is a multi purpose shell script for the gathering of git revisions
 now.
It will extract all revisions that can be found in traversing of the
 current working directory. This effectively includes the
 overleaf/overleaf repo and any others that may be added downstream.
2020-01-23 10:57:36 +01:00
Miguel Serrano 4a424096f2 Added environment variables for web-api user/pass (#131) 2020-01-09 15:55:57 +01:00
Miguel Serrano 325c31d602 Linked CLSI synctext to /opts/synctex (#118) 2019-10-08 12:47:08 +02:00
mserranom 2bf86d8ea7 Revive overleaf community 2019-08-07 08:47:05 +00:00
Shane Kilkelly 56b2f641d2 Change launchpad location to github 2018-02-06 10:26:29 +00:00
Shane Kilkelly 9091749448 Chown the sharelatex directory to www-data 2018-01-08 16:21:18 +00:00
Shane Kilkelly d13fbe4c48 Pin to latest base image 2017-09-08 09:09:42 +01:00
Shane Kilkelly fd71cd3c0a Add call to install-services 2017-09-06 11:16:12 +01:00
Shane Kilkelly 4b46a4e655 Refactor 2017-05-19 08:32:34 +01:00
Shane Kilkelly d5fa1401a1 Ensure bcrypt gets installed 2017-05-18 13:08:55 +01:00
Shane Kilkelly b30b100dca Pin to sharelatex-base:v1.0.0 2017-02-27 15:46:28 +00:00
Shane Kilkelly f31b9d3a7d Set baseDir var 2017-02-22 09:48:34 +00:00
Shane Kilkelly 4c78f400b2 Update image names 2017-02-22 09:20:07 +00:00
Shane Kilkelly 3c431008dd split base image from main image 2017-02-21 11:22:25 +00:00
Shane Kilkelly 29b2648606 Remove texlive docks 2017-02-21 11:01:52 +00:00
Shane Kilkelly ee0c7293e9 Add launchpad to docker build 2017-02-02 14:09:55 +00:00
Henry Oswald e98a23759c install texcount on default image 2016-09-21 16:59:37 +01:00
ShareLaTeX 66dcbb9b96 move settings file to early on 2016-09-21 12:47:07 +00:00
ShareLaTeX 511054423e added dollar to base path 2016-08-05 14:22:42 +00:00
Henry Oswald 40c4f281c1 fixed init.d copy 2016-08-05 15:19:25 +01:00
ShareLaTeX 0fa9f9f0d4 Merge branch 'master' of https://github.com/sharelatex/sharelatex-docker-image 2016-08-05 11:05:31 +00:00
ShareLaTeX 023289ef29 added log rotate and locked down docupdater version for moment 2016-08-05 11:05:06 +00:00
Henry Oswald 507c0dc656 cleaned up dockerfile more, removing undded things 2016-08-05 11:59:39 +01:00
Henry Oswald 81d99e968f add logrotate 2016-08-03 16:22:17 +01:00
Henry Oswald 60bfe17f2c move install latexmk and path higher up 2016-06-30 16:47:13 +01:00
Henry Oswald 342ab43c6b point to texlive 2016 2016-06-09 16:22:27 +01:00
Henry Oswald 8a25755b8a set synctexBaseDir: () -> "/compile" if using docker in docker 2016-05-31 15:16:31 +01:00
James Allen 2c53672dbd install qpdf v6 2016-05-31 14:15:24 +00:00
Henry Oswald 9760850d87 one line the apt-get 2016-05-27 13:12:22 +01:00
Henry Oswald ab61d05e4a run as www-data 2016-05-27 12:55:18 +01:00
Henry Oswald 9646654c48 put apt-get installs on same line and set $TEX_LIVE_DOCKER_IMAGE via env var 2016-05-27 12:12:28 +01:00
Henry Oswald 93ae1e015f build things that don't change at the start for quicker build time 2016-05-26 11:22:51 +01:00
Henry Oswald 61b8e67447 build latex first for faster images and compile clsi synctex 2016-05-26 11:01:21 +01:00
Henry Oswald 3510526963 added strace and time 2016-05-23 14:27:24 +01:00
Henry Oswald 5759c381b1 create templates dir 2016-05-23 12:51:49 +01:00
Henry Oswald ba2ef4f6bd move init scripts to init dir 2016-05-23 12:43:26 +01:00
Henrique Dias 9ae564b105 add baseDir for Dockerfile 2016-05-02 23:55:53 +00:00
Henrique Dias 3e7595f3f2 add support for grunt build 2016-05-02 23:53:49 +00:00
James Allen 195e22b45e added mongodb migrations
added imagemagick
make sure release is up to date
2015-09-17 14:07:50 +00:00
James Allen 5e00d8d3b4 Update to use latest ShareLaTeX release 2015-03-25 16:28:06 +00:00
James Allen 8512277819 Install unzip in Docker container 2015-02-18 17:08:50 +00:00
James Allen 47405a0b31 Update to use release version of ShareLaTeX 2015-02-10 16:49:34 +00:00
James Allen 906919a86f Don't rely on --net=host 2015-02-09 16:18:58 +00:00
James Allen 97ea2b6aa1 Initial Dockerfile image build 2015-02-06 17:01:50 +00:00