mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #262 from overleaf/jpa-faster-install
[perf] trim down install_deps.sh -- install docker cli only
This commit is contained in:
commit
abcc532751
1 changed files with 24 additions and 4 deletions
|
@ -1,4 +1,24 @@
|
||||||
/bin/sh
|
#!/bin/bash
|
||||||
wget -qO- https://get.docker.com/ | sh
|
set -ex
|
||||||
apt-get install poppler-utils vim ghostscript --yes
|
|
||||||
npm rebuild
|
apt-get update
|
||||||
|
apt-get install -y \
|
||||||
|
apt-transport-https \
|
||||||
|
ca-certificates \
|
||||||
|
curl \
|
||||||
|
gnupg \
|
||||||
|
lsb-release
|
||||||
|
|
||||||
|
curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
|
||||||
|
echo \
|
||||||
|
"deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian \
|
||||||
|
$(lsb_release -cs) stable" \
|
||||||
|
> /etc/apt/sources.list.d/docker.list
|
||||||
|
apt-get update
|
||||||
|
|
||||||
|
apt-get install -y \
|
||||||
|
docker-ce-cli \
|
||||||
|
poppler-utils \
|
||||||
|
ghostscript \
|
||||||
|
|
||||||
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
Loading…
Reference in a new issue