File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
linux-browser-dependencies/inside_docker Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 3636 "./types/structs" : " ./types/structs.d.ts"
3737 },
3838 "bin" : {
39- "playwright" : " ./cli.js"
39+ "playwright-core " : " ./cli.js"
4040 },
4141 "types" : " types/types.d.ts"
4242}
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ RUN mkdir /ms-playwright && \
3737 mkdir /ms-playwright-agent && \
3838 cd /ms-playwright-agent && npm init -y && \
3939 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/* && \
4242 rm /tmp/playwright-core.tar.gz && \
4343 chmod -R 777 /ms-playwright
Original file line number Diff line number Diff line change @@ -35,8 +35,8 @@ RUN mkdir /ms-playwright && \
3535 mkdir /ms-playwright-agent && \
3636 cd /ms-playwright-agent && npm init -y && \
3737 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/* && \
4040 rm /tmp/playwright-core.tar.gz && \
4141 rm -rf /ms-playwright-agent && \
4242 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 && \
1212apt-get update && apt-get install -y apt-file && apt-file update
1313
1414# 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
1616
1717cp /root/hostfolder/inside_docker/list_dependencies.js /root/tmp/list_dependencies.js
1818
You can’t perform that action at this time.
0 commit comments