feature parity between images && add bash

This commit is contained in:
Pavel 2022-07-27 09:15:55 +03:00
parent 41bc8cdf83
commit 85f1a2aad5
7 changed files with 28 additions and 16 deletions

View File

@ -2,7 +2,7 @@ name: buildx
on:
schedule:
- cron: "37 06 * * *"
- cron: "37 06 * * 1"
pull_request:
push:

View File

@ -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"

View File

@ -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 \

View File

@ -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++

View File

@ -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 \

View File

@ -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++

View File

@ -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