diff options
author | Tim Lucas <t@toolmantim.com> | 2019-02-06 11:10:56 +1100 |
---|---|---|
committer | Tim Lucas <t@toolmantim.com> | 2019-02-06 11:31:39 +1100 |
commit | 65cd9245fa692fe7bb613960510ba513b2a70a3d (patch) | |
tree | ebe53b6ee5c5cce7d0b369ff13145a3dc36b2a06 | |
parent | 40876fe8ad7b884004ed5f47ac66ce79b0e9ad14 (diff) | |
download | docker-puppeteer-65cd9245fa692fe7bb613960510ba513b2a70a3d.tar.gz docker-puppeteer-65cd9245fa692fe7bb613960510ba513b2a70a3d.tar.zst docker-puppeteer-65cd9245fa692fe7bb613960510ba513b2a70a3d.zip |
Add wait-for-it.sh
-rw-r--r-- | Dockerfile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -15,8 +15,10 @@ RUN apt-get update \ | |||
15 | && sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' \ | 15 | && sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' \ |
16 | && apt-get update \ | 16 | && apt-get update \ |
17 | && apt-get install -y google-chrome-unstable --no-install-recommends \ | 17 | && apt-get install -y google-chrome-unstable --no-install-recommends \ |
18 | && rm -rf /var/lib/apt/lists/* | 18 | && rm -rf /var/lib/apt/lists/* \ |
19 | && wget --quiet https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh -O /usr/sbin/wait-for-it.sh \ | ||
20 | && chmod +x /usr/sbin/wait-for-it.sh | ||
19 | 21 | ||
20 | # Install Puppeteer under /node_modules so it's available system-wide | 22 | # Install Puppeteer under /node_modules so it's available system-wide |
21 | ADD package.json package-lock.json / | 23 | ADD package.json package-lock.json / |
22 | RUN npm install \ No newline at end of file | 24 | RUN npm install |