added system tasks

This commit is contained in:
marvzhang
2020-07-31 13:13:49 +08:00
parent 12009a387c
commit 0a292248b4
13 changed files with 118 additions and 66 deletions

View File

@@ -1,5 +1,8 @@
#!/bin/bash
# fail immediately if error
set -e
# lock global
touch /tmp/install.lock
@@ -20,7 +23,7 @@ apt-get update && apt-get install -yq libgconf-2-4
# Note: this installs the necessary libs to make the bundled version
# of Chromium that Puppeteer
# installs, work.
RUN apt-get update \
apt-get update \
&& apt-get install -y wget gnupg \
&& wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
&& sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' \