mirror of
https://github.com/cloudflare/wrangler-action.git
synced 2024-11-21 17:43:23 +01:00
Use node docker image
This commit is contained in:
parent
3dc1bddb46
commit
d788022550
2 changed files with 4 additions and 6 deletions
|
@ -1,3 +1,3 @@
|
|||
FROM ubuntu:latest
|
||||
FROM node:10.14.1-alpine
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
#!/bin/sh -l
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
apt-get update -y
|
||||
apt-get install curl -y
|
||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.0/install.sh | sh
|
||||
nvm install latest
|
||||
npm i
|
||||
npm i @cloudflare/wrangler -g
|
||||
wrangler whoami
|
||||
|
|
Loading…
Reference in a new issue