diff --git a/.github/workflows/buildx.yml b/.github/workflows/buildx.yml index bf92147..9b0f426 100644 --- a/.github/workflows/buildx.yml +++ b/.github/workflows/buildx.yml @@ -2,7 +2,7 @@ name: buildx on: schedule: - - cron: "37 06 * * *" + - cron: "37 06 * * 1" pull_request: push: diff --git a/.github/workflows/dockerimage.yml b/.github/workflows/dockerimage.yml index d274d07..e1f463e 100644 --- a/.github/workflows/dockerimage.yml +++ b/.github/workflows/dockerimage.yml @@ -9,7 +9,7 @@ jobs: - uses: actions/checkout@v3 - name: Build the Docker image run: | - docker run -i $(docker build -q 14) /bin/sh -c "node --version && npm --version && git --version && python3 -V && make -v && g++ -v" - docker run -i $(docker build -q 16) /bin/sh -c "node --version && npm --version && git --version && python3 -V && make -v && g++ -v" - docker run -i $(docker build -q 14-3.13) /bin/sh -c "node --version && npm --version && git --version && python3 -V && make -v && g++ -v" - docker run -i $(docker build -q 16-3.13) /bin/sh -c "node --version && npm --version && git --version && python3 -V && make -v && g++ -v" + docker run -i $(docker build -q 14) /bin/sh -c "node --version && npm --version && bash --version && ssh -V && git --version && python3 -V && make -v && g++ -v" + docker run -i $(docker build -q 16) /bin/sh -c "node --version && npm --version && bash --version && ssh -V && git --version && python3 -V && make -v && g++ -v" + docker run -i $(docker build -q 14-3.13) /bin/sh -c "node --version && npm --version && bash --version && ssh -V && git --version && python3 -V && make -v && g++ -v" + docker run -i $(docker build -q 16-3.13) /bin/sh -c "node --version && npm --version && bash --version && ssh -V && git --version && python3 -V && make -v && g++ -v" diff --git a/14-3.13/Dockerfile b/14-3.13/Dockerfile index 5536083..6b90cff 100644 --- a/14-3.13/Dockerfile +++ b/14-3.13/Dockerfile @@ -1,10 +1,7 @@ FROM node:fermium-alpine3.13 - -ARG REFRESHED_AT -ENV REFRESHED_AT $REFRESHED_AT - RUN apk -U upgrade \ && apk add --no-cache \ + bash \ git \ openssh \ python3 \ diff --git a/14/Dockerfile b/14/Dockerfile index 842863b..cc46f56 100644 --- a/14/Dockerfile +++ b/14/Dockerfile @@ -1,2 +1,9 @@ FROM timbru31/node-alpine-git:14 -RUN apk -U upgrade && apk add --no-cache python3 make g++ +RUN apk -U upgrade \ + && apk add --no-cache \ + bash \ + git \ + openssh \ + python3 \ + make \ + g++ \ No newline at end of file diff --git a/16-3.13/Dockerfile b/16-3.13/Dockerfile index 65ec2b7..6c9d1b8 100644 --- a/16-3.13/Dockerfile +++ b/16-3.13/Dockerfile @@ -1,10 +1,7 @@ FROM node:gallium-alpine3.13 - -ARG REFRESHED_AT -ENV REFRESHED_AT $REFRESHED_AT - RUN apk -U upgrade \ && apk add --no-cache \ + bash \ git \ openssh \ python3 \ diff --git a/16/Dockerfile b/16/Dockerfile index 904a81e..7a8a831 100644 --- a/16/Dockerfile +++ b/16/Dockerfile @@ -1,2 +1,9 @@ FROM timbru31/node-alpine-git:16 -RUN apk -U upgrade && apk add --no-cache python3 make g++ +RUN apk -U upgrade \ + && apk add --no-cache \ + bash \ + git \ + openssh \ + python3 \ + make \ + g++ diff --git a/README.md b/README.md index d236e76..9d6ee3b 100644 --- a/README.md +++ b/README.md @@ -11,8 +11,12 @@ A minimal Dockerfile based on Node.js 14 LTS (Fermium) or Node.js 16 LTS (Galliu - Node.js 14 LTS (Fermium) or 16 LTS (Gallium) - npm 6 (Node.js 14) or npm 8 (Node.js 16) - yarn +- Bash - Git -- ssh +- OpenSSH +- Python 3.x (for node-gyp) +- g++ (for node-gyp) +- make ### Available platforms