fix build erro in github actions

This commit is contained in:
Nebel 2020-03-25 22:33:37 +09:00
parent c46a480cd0
commit 7266f5b881
2 changed files with 3 additions and 6 deletions

View file

@ -1,5 +1,4 @@
ARG from
FROM ${from}
FROM kou029w/puppeteer-node:latest
USER root
RUN npm --unsafe-perm=true install -g kou029w/sync-codesandbox
USER pptruser

View file

@ -1,14 +1,12 @@
version: "3"
services:
puppeteer-node:
image: &puppeteer-node kou029w/puppeteer-node
image: kou029w/puppeteer-node
build:
context: github.com/puppeteer/puppeteer#:.ci/node12
dockerfile: Dockerfile.linux
sync-codesandbox:
image: kou029w/sync-codesandbox:${VERSION:-latest}
image: kou029w/sync-codesandbox
build:
context: "."
args:
from: *puppeteer-node
depends_on: [puppeteer-node]