Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.

Commit 10a68f6

Browse files
author
Matt Goo
authored
fix(infrastructure): update docker command to run new image (#923)
1 parent 044117f commit 10a68f6

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# based off https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md#running-puppeteer-in-docker
22
FROM node:10-slim
33

4+
# https://superuser.com/questions/1423486/issue-with-fetching-http-deb-debian-org-debian-dists-jessie-updates-inrelease
5+
RUN printf "deb http://archive.debian.org/debian/ jessie main\ndeb-src http://archive.debian.org/debian/ jessie main\ndeb http://security.debian.org jessie/updates main\ndeb-src http://security.debian.org jessie/updates main" > /etc/apt/sources.list
6+
47
# See https://crbug.com/795759
58
RUN apt-get update && apt-get install -yq libgconf-2-4 git vim
69

docs/screenshot-tests.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ You may need to update the Docker image. Follow these steps:
103103
From the project's root directory run the following command:
104104

105105
```
106-
docker build -t screenshots .
106+
docker build --no-cache -t screenshots .
107107
```
108108

109109
This command builds a Docker image named `screenshots` based off the `Dockerfile` found in the root directory. Next push this to the Docker Hub for Travis tests. If you are testing you may want to use a different [tag](https://hub.docker.com/r/mdcreact/screenshots/tags/) in the interim.

0 commit comments

Comments
 (0)