diff --git a/.github/workflows/chrnodejs.yml b/.github/workflows/chrnodejs.yml index d4b924c..debf2a7 100644 --- a/.github/workflows/chrnodejs.yml +++ b/.github/workflows/chrnodejs.yml @@ -16,6 +16,7 @@ jobs: fail-fast: false matrix: tag: + - 12 - 14 - 16 - 18 diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 058fec6..0075e21 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -16,6 +16,7 @@ jobs: fail-fast: false matrix: tag: + - 12 - 14 - 16 - 18 diff --git a/chrnodejs/12/Dockerfile b/chrnodejs/12/Dockerfile new file mode 100644 index 0000000..9be0878 --- /dev/null +++ b/chrnodejs/12/Dockerfile @@ -0,0 +1,21 @@ +FROM --platform=$TARGETOS/$TARGETARCH node:12-bullseye-slim + +LABEL author="Zastinian" maintainer="contact@hedystia.com" + +ENV DEBIAN_FRONTEND noninteractive + +RUN apt-get update && apt-get -f install && apt-get -y install wget gnupg2 apt-utils +RUN wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | apt-key add - +RUN echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' >> /etc/apt/sources.list +RUN apt-get update \ +&& apt-get install -y google-chrome-stable --no-install-recommends --allow-downgrades fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst fonts-freefont-ttf ffmpeg iproute2 git sqlite3 python3 tzdata ca-certificates dnsutils build-essential + +RUN apt update +RUN apt install -y wget net-tools iproute2 gnupg2 xvfb pulseaudio apt-transport-https + +USER container +ENV USER=container HOME=/home/container +WORKDIR /home/container + +COPY ./../entrypoint.sh /entrypoint.sh +CMD ["/bin/bash", "/entrypoint.sh"] \ No newline at end of file diff --git a/nodejs/12/Dockerfile b/nodejs/12/Dockerfile new file mode 100644 index 0000000..358a749 --- /dev/null +++ b/nodejs/12/Dockerfile @@ -0,0 +1,14 @@ +FROM --platform=$TARGETOS/$TARGETARCH node:12-bullseye-slim + +LABEL author="Zastinian" maintainer="contact@hedystia.com" + +RUN apt update \ + && apt -y install ffmpeg iproute2 git sqlite3 libsqlite3-dev python3 python3-dev ca-certificates dnsutils tzdata zip tar curl build-essential libtool \ + && useradd -m -d /home/container container + +USER container +ENV USER=container HOME=/home/container +WORKDIR /home/container + +COPY ./../entrypoint.sh /entrypoint.sh +CMD [ "/bin/bash", "/entrypoint.sh" ] \ No newline at end of file