diff options
author | Tim Lucas <t@toolmantim.com> | 2018-06-12 22:25:47 +1000 |
---|---|---|
committer | Tim Lucas <t@toolmantim.com> | 2018-06-12 22:25:47 +1000 |
commit | f8f84070b8bac464c6536258506fb85b3ba9129d (patch) | |
tree | bdc13233807a7c589ffab6611d7baa27cca64b99 | |
parent | ba32f188bf5dffef32d046eedbb4600cfcd08078 (diff) | |
download | docker-puppeteer-f8f84070b8bac464c6536258506fb85b3ba9129d.tar.gz docker-puppeteer-f8f84070b8bac464c6536258506fb85b3ba9129d.tar.zst docker-puppeteer-f8f84070b8bac464c6536258506fb85b3ba9129d.zip |
Switch to a package.json that can be updated
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Dockerfile | 8 | ||||
-rw-r--r-- | package-lock.json | 300 | ||||
-rw-r--r-- | package.json | 5 |
4 files changed, 311 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..30bc162 --- /dev/null +++ b/.gitignore | |||
@@ -0,0 +1 @@ | |||
/node_modules \ No newline at end of file | |||
@@ -15,6 +15,8 @@ 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 | # Finally, install Puppeteer under /node_modules so it's available system-wide | 19 | |
20 | && npm i puppeteer@1.3.0 \ No newline at end of file | 20 | # Install Puppeteer under /node_modules so it's available system-wide |
21 | ADD package.json package-lock.json / | ||
22 | RUN npm install \ No newline at end of file | ||
diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..3197c3c --- /dev/null +++ b/package-lock.json | |||
@@ -0,0 +1,300 @@ | |||
1 | { | ||
2 | "requires": true, | ||
3 | "lockfileVersion": 1, | ||
4 | "dependencies": { | ||
5 | "agent-base": { | ||
6 | "version": "4.2.0", | ||
7 | "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-4.2.0.tgz", | ||
8 | "integrity": "sha512-c+R/U5X+2zz2+UCrCFv6odQzJdoqI+YecuhnAJLa1zYaMc13zPfwMwZrr91Pd1DYNo/yPRbiM4WVf9whgwFsIg==", | ||
9 | "requires": { | ||
10 | "es6-promisify": "^5.0.0" | ||
11 | } | ||
12 | }, | ||
13 | "async-limiter": { | ||
14 | "version": "1.0.0", | ||
15 | "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.0.tgz", | ||
16 | "integrity": "sha512-jp/uFnooOiO+L211eZOoSyzpOITMXx1rBITauYykG3BRYPu8h0UcxsPNB04RR5vo4Tyz3+ay17tR6JVf9qzYWg==" | ||
17 | }, | ||
18 | "balanced-match": { | ||
19 | "version": "1.0.0", | ||
20 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", | ||
21 | "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" | ||
22 | }, | ||
23 | "brace-expansion": { | ||
24 | "version": "1.1.11", | ||
25 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", | ||
26 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", | ||
27 | "requires": { | ||
28 | "balanced-match": "^1.0.0", | ||
29 | "concat-map": "0.0.1" | ||
30 | } | ||
31 | }, | ||
32 | "buffer-from": { | ||
33 | "version": "1.1.0", | ||
34 | "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.0.tgz", | ||
35 | "integrity": "sha512-c5mRlguI/Pe2dSZmpER62rSCu0ryKmWddzRYsuXc50U2/g8jMOulc31VZMa4mYx31U5xsmSOpDCgH88Vl9cDGQ==" | ||
36 | }, | ||
37 | "concat-map": { | ||
38 | "version": "0.0.1", | ||
39 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", | ||
40 | "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" | ||
41 | }, | ||
42 | "concat-stream": { | ||
43 | "version": "1.6.2", | ||
44 | "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", | ||
45 | "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", | ||
46 | "requires": { | ||
47 | "buffer-from": "^1.0.0", | ||
48 | "inherits": "^2.0.3", | ||
49 | "readable-stream": "^2.2.2", | ||
50 | "typedarray": "^0.0.6" | ||
51 | } | ||
52 | }, | ||
53 | "core-util-is": { | ||
54 | "version": "1.0.2", | ||
55 | "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", | ||
56 | "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" | ||
57 | }, | ||
58 | "debug": { | ||
59 | "version": "3.1.0", | ||
60 | "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", | ||
61 | "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", | ||
62 | "requires": { | ||
63 | "ms": "2.0.0" | ||
64 | } | ||
65 | }, | ||
66 | "es6-promise": { | ||
67 | "version": "4.2.4", | ||
68 | "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.4.tgz", | ||
69 | "integrity": "sha512-/NdNZVJg+uZgtm9eS3O6lrOLYmQag2DjdEXuPaHlZ6RuVqgqaVZfgYCepEIKsLqwdQArOPtC3XzRLqGGfT8KQQ==" | ||
70 | }, | ||
71 | "es6-promisify": { | ||
72 | "version": "5.0.0", | ||
73 | "resolved": "https://registry.npmjs.org/es6-promisify/-/es6-promisify-5.0.0.tgz", | ||
74 | "integrity": "sha1-UQnWLz5W6pZ8S2NQWu8IKRyKUgM=", | ||
75 | "requires": { | ||
76 | "es6-promise": "^4.0.3" | ||
77 | } | ||
78 | }, | ||
79 | "extract-zip": { | ||
80 | "version": "1.6.7", | ||
81 | "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-1.6.7.tgz", | ||
82 | "integrity": "sha1-qEC0uK9kAyZMjbV/Txp0Mz74H+k=", | ||
83 | "requires": { | ||
84 | "concat-stream": "1.6.2", | ||
85 | "debug": "2.6.9", | ||
86 | "mkdirp": "0.5.1", | ||
87 | "yauzl": "2.4.1" | ||
88 | }, | ||
89 | "dependencies": { | ||
90 | "debug": { | ||
91 | "version": "2.6.9", | ||
92 | "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", | ||
93 | "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", | ||
94 | "requires": { | ||
95 | "ms": "2.0.0" | ||
96 | } | ||
97 | } | ||
98 | } | ||
99 | }, | ||
100 | "fd-slicer": { | ||
101 | "version": "1.0.1", | ||
102 | "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.0.1.tgz", | ||
103 | "integrity": "sha1-i1vL2ewyfFBBv5qwI/1nUPEXfmU=", | ||
104 | "requires": { | ||
105 | "pend": "~1.2.0" | ||
106 | } | ||
107 | }, | ||
108 | "fs.realpath": { | ||
109 | "version": "1.0.0", | ||
110 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", | ||
111 | "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" | ||
112 | }, | ||
113 | "glob": { | ||
114 | "version": "7.1.2", | ||
115 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", | ||
116 | "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", | ||
117 | "requires": { | ||
118 | "fs.realpath": "^1.0.0", | ||
119 | "inflight": "^1.0.4", | ||
120 | "inherits": "2", | ||
121 | "minimatch": "^3.0.4", | ||
122 | "once": "^1.3.0", | ||
123 | "path-is-absolute": "^1.0.0" | ||
124 | } | ||
125 | }, | ||
126 | "https-proxy-agent": { | ||
127 | "version": "2.2.1", | ||
128 | "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-2.2.1.tgz", | ||
129 | "integrity": "sha512-HPCTS1LW51bcyMYbxUIOO4HEOlQ1/1qRaFWcyxvwaqUS9TY88aoEuHUY33kuAh1YhVVaDQhLZsnPd+XNARWZlQ==", | ||
130 | "requires": { | ||
131 | "agent-base": "^4.1.0", | ||
132 | "debug": "^3.1.0" | ||
133 | } | ||
134 | }, | ||
135 | "inflight": { | ||
136 | "version": "1.0.6", | ||
137 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", | ||
138 | "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", | ||
139 | "requires": { | ||
140 | "once": "^1.3.0", | ||
141 | "wrappy": "1" | ||
142 | } | ||
143 | }, | ||
144 | "inherits": { | ||
145 | "version": "2.0.3", | ||
146 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", | ||
147 | "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" | ||
148 | }, | ||
149 | "isarray": { | ||
150 | "version": "1.0.0", | ||
151 | "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", | ||
152 | "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" | ||
153 | }, | ||
154 | "mime": { | ||
155 | "version": "2.3.1", | ||
156 | "resolved": "https://registry.npmjs.org/mime/-/mime-2.3.1.tgz", | ||
157 | "integrity": "sha512-OEUllcVoydBHGN1z84yfQDimn58pZNNNXgZlHXSboxMlFvgI6MXSWpWKpFRra7H1HxpVhHTkrghfRW49k6yjeg==" | ||
158 | }, | ||
159 | "minimatch": { | ||
160 | "version": "3.0.4", | ||
161 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", | ||
162 | "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", | ||
163 | "requires": { | ||
164 | "brace-expansion": "^1.1.7" | ||
165 | } | ||
166 | }, | ||
167 | "minimist": { | ||
168 | "version": "0.0.8", | ||
169 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", | ||
170 | "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=" | ||
171 | }, | ||
172 | "mkdirp": { | ||
173 | "version": "0.5.1", | ||
174 | "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", | ||
175 | "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", | ||
176 | "requires": { | ||
177 | "minimist": "0.0.8" | ||
178 | } | ||
179 | }, | ||
180 | "ms": { | ||
181 | "version": "2.0.0", | ||
182 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", | ||
183 | "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" | ||
184 | }, | ||
185 | "once": { | ||
186 | "version": "1.4.0", | ||
187 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", | ||
188 | "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", | ||
189 | "requires": { | ||
190 | "wrappy": "1" | ||
191 | } | ||
192 | }, | ||
193 | "path-is-absolute": { | ||
194 | "version": "1.0.1", | ||
195 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", | ||
196 | "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" | ||
197 | }, | ||
198 | "pend": { | ||
199 | "version": "1.2.0", | ||
200 | "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", | ||
201 | "integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA=" | ||
202 | }, | ||
203 | "process-nextick-args": { | ||
204 | "version": "2.0.0", | ||
205 | "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz", | ||
206 | "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==" | ||
207 | }, | ||
208 | "progress": { | ||
209 | "version": "2.0.0", | ||
210 | "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.0.tgz", | ||
211 | "integrity": "sha1-ihvjZr+Pwj2yvSPxDG/pILQ4nR8=" | ||
212 | }, | ||
213 | "proxy-from-env": { | ||
214 | "version": "1.0.0", | ||
215 | "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.0.0.tgz", | ||
216 | "integrity": "sha1-M8UDmPcOp+uW0h97gXYwpVeRx+4=" | ||
217 | }, | ||
218 | "puppeteer": { | ||
219 | "version": "1.5.0", | ||
220 | "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-1.5.0.tgz", | ||
221 | "integrity": "sha512-eELwFtFxL+uhmg4jPZOZXzSrPEYy4CaYQNbcchBbfxY+KjMpnv6XGf/aYWaQG49OTpfi2/DMziXtDM8XuJgoUA==", | ||
222 | "requires": { | ||
223 | "debug": "^3.1.0", | ||
224 | "extract-zip": "^1.6.6", | ||
225 | "https-proxy-agent": "^2.2.1", | ||
226 | "mime": "^2.0.3", | ||
227 | "progress": "^2.0.0", | ||
228 | "proxy-from-env": "^1.0.0", | ||
229 | "rimraf": "^2.6.1", | ||
230 | "ws": "^5.1.1" | ||
231 | } | ||
232 | }, | ||
233 | "readable-stream": { | ||
234 | "version": "2.3.6", | ||
235 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", | ||
236 | "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", | ||
237 | "requires": { | ||
238 | "core-util-is": "~1.0.0", | ||
239 | "inherits": "~2.0.3", | ||
240 | "isarray": "~1.0.0", | ||
241 | "process-nextick-args": "~2.0.0", | ||
242 | "safe-buffer": "~5.1.1", | ||
243 | "string_decoder": "~1.1.1", | ||
244 | "util-deprecate": "~1.0.1" | ||
245 | } | ||
246 | }, | ||
247 | "rimraf": { | ||
248 | "version": "2.6.2", | ||
249 | "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.2.tgz", | ||
250 | "integrity": "sha512-lreewLK/BlghmxtfH36YYVg1i8IAce4TI7oao75I1g245+6BctqTVQiBP3YUJ9C6DQOXJmkYR9X9fCLtCOJc5w==", | ||
251 | "requires": { | ||
252 | "glob": "^7.0.5" | ||
253 | } | ||
254 | }, | ||
255 | "safe-buffer": { | ||
256 | "version": "5.1.2", | ||
257 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", | ||
258 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" | ||
259 | }, | ||
260 | "string_decoder": { | ||
261 | "version": "1.1.1", | ||
262 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", | ||
263 | "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", | ||
264 | "requires": { | ||
265 | "safe-buffer": "~5.1.0" | ||
266 | } | ||
267 | }, | ||
268 | "typedarray": { | ||
269 | "version": "0.0.6", | ||
270 | "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", | ||
271 | "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=" | ||
272 | }, | ||
273 | "util-deprecate": { | ||
274 | "version": "1.0.2", | ||
275 | "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", | ||
276 | "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" | ||
277 | }, | ||
278 | "wrappy": { | ||
279 | "version": "1.0.2", | ||
280 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", | ||
281 | "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" | ||
282 | }, | ||
283 | "ws": { | ||
284 | "version": "5.2.0", | ||
285 | "resolved": "https://registry.npmjs.org/ws/-/ws-5.2.0.tgz", | ||
286 | "integrity": "sha512-c18dMeW+PEQdDFzkhDsnBAlS4Z8KGStBQQUcQ5mf7Nf689jyGk0594L+i9RaQuf4gog6SvWLJorz2NfSaqxZ7w==", | ||
287 | "requires": { | ||
288 | "async-limiter": "~1.0.0" | ||
289 | } | ||
290 | }, | ||
291 | "yauzl": { | ||
292 | "version": "2.4.1", | ||
293 | "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.4.1.tgz", | ||
294 | "integrity": "sha1-lSj0QtqxsihOWLQ3m7GU4i4MQAU=", | ||
295 | "requires": { | ||
296 | "fd-slicer": "~1.0.1" | ||
297 | } | ||
298 | } | ||
299 | } | ||
300 | } | ||
diff --git a/package.json b/package.json new file mode 100644 index 0000000..df9f7b9 --- /dev/null +++ b/package.json | |||
@@ -0,0 +1,5 @@ | |||
1 | { | ||
2 | "dependencies": { | ||
3 | "puppeteer": "^1.5.0" | ||
4 | } | ||
5 | } | ||