Docker: Install Puppeteer & TestCafe on AMD64 only
see https://github.com/puppeteer/puppeteer/issues/4176
This commit is contained in:
parent
bf8de9be22
commit
aa28911475
2 changed files with 3 additions and 3 deletions
|
@ -164,7 +164,7 @@ steps:
|
|||
|
||||
- name: test
|
||||
commands:
|
||||
- docker-compose -f docker-compose.drone.yml exec -T photoprism make all test install migrate
|
||||
- docker-compose -f docker-compose.drone.yml exec -T photoprism make all test-go install migrate
|
||||
|
||||
- name: down
|
||||
commands:
|
||||
|
@ -177,6 +177,6 @@ steps:
|
|||
|
||||
---
|
||||
kind: signature
|
||||
hmac: 7c59ebf5126f9f013b413e743de8e73d54dc07fbe43fc32d1757102863f7253e
|
||||
hmac: 61a27b3c3142a9a1d1972f0fe00a8aa19d99623e6fea6e1d5ad44b6b20cd5cd1
|
||||
|
||||
...
|
||||
|
|
|
@ -95,7 +95,7 @@ RUN /root/.local/bin/install-tensorflow.sh $TARGETARCH && \
|
|||
|
||||
# Install NPM, Puppeteer, TestCafe & ChromeDriver
|
||||
RUN umask 0000 && npm install --unsafe-perm=true --allow-root -g npm && npm config set cache ~/.cache/npm && \
|
||||
[ "$TARGETARCH" = "arm" ] || npm install --unsafe-perm=true --allow-root -g puppeteer testcafe testcafe-browser-provider-puppeteer chromedriver;
|
||||
[ "$TARGETARCH" != "amd64" ] || npm install --unsafe-perm=true --allow-root -g puppeteer testcafe testcafe-browser-provider-puppeteer chromedriver;
|
||||
|
||||
# Install Go
|
||||
RUN /root/.local/bin/install-go.sh ${TARGETARCH} && \
|
||||
|
|
Loading…
Add table
Reference in a new issue