File tree 4 files changed +6
-6
lines changed
linux-browser-dependencies/inside_docker 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 36
36
"./types/structs" : " ./types/structs.d.ts"
37
37
},
38
38
"bin" : {
39
- "playwright" : " ./cli.js"
39
+ "playwright-core " : " ./cli.js"
40
40
},
41
41
"types" : " types/types.d.ts"
42
42
}
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ RUN mkdir /ms-playwright && \
37
37
mkdir /ms-playwright-agent && \
38
38
cd /ms-playwright-agent && npm init -y && \
39
39
npm i /tmp/playwright-core.tar.gz && \
40
- npx playwright mark-docker-image "${DOCKER_IMAGE_NAME_TEMPLATE}" && \
41
- npx playwright install --with-deps && rm -rf /var/lib/apt/lists/* && \
40
+ npx playwright-core mark-docker-image "${DOCKER_IMAGE_NAME_TEMPLATE}" && \
41
+ npx playwright-core install --with-deps && rm -rf /var/lib/apt/lists/* && \
42
42
rm /tmp/playwright-core.tar.gz && \
43
43
chmod -R 777 /ms-playwright
Original file line number Diff line number Diff line change @@ -35,8 +35,8 @@ RUN mkdir /ms-playwright && \
35
35
mkdir /ms-playwright-agent && \
36
36
cd /ms-playwright-agent && npm init -y && \
37
37
npm i /tmp/playwright-core.tar.gz && \
38
- npx playwright mark-docker-image "${DOCKER_IMAGE_NAME_TEMPLATE}" && \
39
- npx playwright install --with-deps && rm -rf /var/lib/apt/lists/* && \
38
+ npx playwright-core mark-docker-image "${DOCKER_IMAGE_NAME_TEMPLATE}" && \
39
+ npx playwright-core install --with-deps && rm -rf /var/lib/apt/lists/* && \
40
40
rm /tmp/playwright-core.tar.gz && \
41
41
rm -rf /ms-playwright-agent && \
42
42
chmod -R 777 /ms-playwright
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ apt-get update && apt-get install -y curl && \
12
12
apt-get update && apt-get install -y apt-file && apt-file update
13
13
14
14
# Install tip-of-tree playwright-core and browsers
15
- mkdir /root/tmp && cd /root/tmp && npm init -y && npm i /root/hostfolder/playwright-core.tar.gz && npx playwright install
15
+ mkdir /root/tmp && cd /root/tmp && npm init -y && npm i /root/hostfolder/playwright-core.tar.gz && npx playwright-core install
16
16
17
17
cp /root/hostfolder/inside_docker/list_dependencies.js /root/tmp/list_dependencies.js
18
18
You can’t perform that action at this time.
0 commit comments