diff --git a/Dockerfile b/Dockerfile index 3b8604f..632d417 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/docker-compose.yml b/docker-compose.yml index 7cd65b6..47878f0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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]