Compare commits

..

29 Commits

Author SHA1 Message Date
74c60c8d4f 5.0.90 2022-10-12 17:25:22 +02:00
0c5f20ed36 5.0.89 2022-10-12 17:24:48 +02:00
4066098153 fix(core): update 2022-10-12 17:24:48 +02:00
a9fcf3c64e 5.0.88 2022-10-12 16:33:03 +02:00
03cdeb1cd4 fix(core): update 2022-10-12 16:33:02 +02:00
d4cf1b5bc7 5.0.87 2022-10-11 10:42:42 +02:00
5da58d1f18 fix(core): update 2022-10-11 10:42:42 +02:00
ebd63262ab 5.0.86 2022-10-11 10:06:18 +02:00
af16867f69 fix(core): update 2022-10-11 10:06:18 +02:00
812979b0bf 5.0.85 2022-08-06 04:49:18 +02:00
1864b4f0e1 fix(core): update 2022-08-06 04:49:18 +02:00
12c95e4da9 5.0.84 2022-08-05 15:35:36 +02:00
9cf189b77b fix(core): update 2022-08-05 15:35:35 +02:00
8669c3cc70 5.0.83 2022-03-25 20:16:53 +01:00
c005ac8995 fix(core): update 2022-03-25 20:16:53 +01:00
594cbc119c 5.0.82 2022-03-25 17:28:51 +01:00
df92a41d60 fix(core): update 2022-03-25 17:28:51 +01:00
4b23a3aad8 5.0.81 2022-03-25 17:10:10 +01:00
e4da377993 fix(core): update 2022-03-25 17:10:09 +01:00
80725b92f1 5.0.80 2022-03-25 16:51:34 +01:00
2aeb8f6546 fix(core): update 2022-03-25 16:51:34 +01:00
f10bb7c18d 5.0.79 2022-03-25 16:42:57 +01:00
6b494cdecb fix(core): update 2022-03-25 16:42:56 +01:00
10eed74adf 5.0.78 2022-03-25 16:41:19 +01:00
9014bf95e3 fix(core): update 2022-03-25 16:41:19 +01:00
0b8fbfc343 5.0.77 2022-03-22 15:02:46 +01:00
b4480d73eb fix(core): fix readme 2022-03-22 15:02:45 +01:00
18fc2c673a 5.0.76 2021-11-20 20:46:57 +01:00
8c8bf18610 fix(core): update 2021-11-20 20:46:57 +01:00
13 changed files with 41 additions and 27 deletions

View File

@ -36,6 +36,7 @@ release:
- npmci docker build - npmci docker build
- npmci docker test - npmci docker test
- npmci docker push registry.gitlab.com - npmci docker push registry.gitlab.com
- npmci docker push docker.io
only: only:
- tags - tags
tags: tags:

View File

@ -1,9 +1,9 @@
FROM ubuntu:bionic FROM ubuntu:20.04
LABEL author="Lossless GmbH <hello@lossless.com>" LABEL author="Lossless GmbH <hello@lossless.com>"
WORKDIR /workspace WORKDIR /workspace
# important environment variables # important environment variables
ENV NODE_VERSION_LTS="14.18.1" NODE_VERSION_STABLE="16.11.1" NVM_DIR="/usr/local/nvm" ENV NODE_VERSION_LTS="16.16.0" NODE_VERSION_STABLE="18.7.0" NVM_DIR="/usr/local/nvm"
# Set debconf to run non-interactively and install packages # Set debconf to run non-interactively and install packages
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections \ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections \
@ -81,3 +81,19 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
# Install nvm with node and npm # Install nvm with node and npm
RUN curl https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash RUN curl https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
RUN bash -c "source $NVM_DIR/nvm.sh \
&& nvm install $NODE_VERSION_STABLE \
&& nvm alias default $NODE_VERSION_STABLE \
&& nvm use default \
&& npm config set unsafe-perm true \
&& npm install -g agentkeepalive \
&& npm install -g npm"
ENV NODE_PATH $NVM_DIR/v$NODE_VERSION_STABLE/lib/node_modules
ENV PATH $NVM_DIR/versions/node/v$NODE_VERSION_STABLE/bin:$PATH
ENV PNPM_HOME="/root/.local/share/pnpm/pnpm"
RUN mkdir -p ${PNPM_HOME}
ENV PATH="$PNPM_HOME:$PATH"
RUN curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm && pnpm -v

View File

@ -1,4 +1,4 @@
FROM node:14.15.4-alpine FROM node:18.7.0-alpine
LABEL author="Lossless GmbH <hello@lossless.com>" LABEL author="Lossless GmbH <hello@lossless.com>"
RUN apk update && apk add bash libc6-compat alpine-sdk RUN apk update && apk add bash libc6-compat alpine-sdk
ENV PYTHONUNBUFFERED=1 ENV PYTHONUNBUFFERED=1
@ -6,5 +6,11 @@ RUN apk add --update --no-cache python3 && ln -sf python3 /usr/bin/python
RUN python3 -m ensurepip RUN python3 -m ensurepip
RUN pip3 install --no-cache --upgrade pip setuptools RUN pip3 install --no-cache --upgrade pip setuptools
#pnpm
ENV PNPM_HOME="/root/.local/share/pnpm/pnpm"
RUN mkdir -p ${PNPM_HOME}
ENV PATH="$PNPM_HOME:$PATH"
RUN curl -fsSL "https://github.com/pnpm/pnpm/releases/latest/download/pnpm-linuxstatic-x64" -o /bin/pnpm; chmod +x /bin/pnpm;
RUN pnpm -v
ENV NODE_OPTIONS="--max_old_space_size=1000" ENV NODE_OPTIONS="--max_old_space_size=1000"

View File

@ -1,4 +1,4 @@
FROM hosttoday/ht-docker-node:stable as stage1 FROM hosttoday/ht-docker-node:latest as stage1
LABEL author="Lossless GmbH <hello@lossless.com>" LABEL author="Lossless GmbH <hello@lossless.com>"
RUN apt-get update && apt-get install -y --no-install-recommends qemu-user-static binfmt-support RUN apt-get update && apt-get install -y --no-install-recommends qemu-user-static binfmt-support
# the following lines need to be run on a system that supports both architectures # the following lines need to be run on a system that supports both architectures

View File

@ -1,4 +1,4 @@
FROM hosttoday/ht-docker-node:stable FROM hosttoday/ht-docker-node:latest
LABEL author="Lossless GmbH <hello@lossless.com>" LABEL author="Lossless GmbH <hello@lossless.com>"
RUN npm install -g @shipzone/npmci RUN pnpm install -g @shipzone/npmci

View File

@ -1,13 +0,0 @@
FROM hosttoday/ht-docker-node:latest
LABEL author="Lossless GmbH <hello@lossless.com>"
RUN bash -c "source $NVM_DIR/nvm.sh \
&& nvm install $NODE_VERSION_STABLE \
&& nvm alias default $NODE_VERSION_STABLE \
&& nvm use default \
&& npm config set unsafe-perm true \
&& npm install -g agentkeepalive \
&& npm install -g npm"
ENV NODE_PATH $NVM_DIR/v$NODE_VERSION_STABLE/lib/node_modules
ENV PATH $NVM_DIR/versions/node/v$NODE_VERSION_STABLE/bin:$PATH

6
Dockerfile_stableinit Normal file
View File

@ -0,0 +1,6 @@
FROM hosttoday/ht-docker-node:latest
# Add Tini
ENV TINI_VERSION v0.19.0
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
RUN chmod +x /tini
ENTRYPOINT ["/tini", "--"]

View File

@ -1,4 +0,0 @@
FROM hosttoday/ht-docker-node:lts
LABEL author="Lossless GmbH <hello@lossless.com>"
RUN npm install -g @shipzone/npmci @gitzone/tsdocker @gitzone/tsrun

2
package-lock.json generated
View File

@ -1,5 +1,5 @@
{ {
"name": "ht-docker-node", "name": "ht-docker-node",
"version": "5.0.75", "version": "5.0.90",
"lockfileVersion": 1 "lockfileVersion": 1
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "ht-docker-node", "name": "ht-docker-node",
"version": "5.0.75", "version": "5.0.90",
"description": "docker image with nodejs and shipzone.io support", "description": "docker image with nodejs and shipzone.io support",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {

View File

@ -1,5 +1,5 @@
# @hosttoday/ht-docker-node # @hosttoday/ht-docker-node
docker image with nodejs and shipzone.io support docker image with nodejs and [ship.zone](https://ship.zone) support
## Availabililty and Links ## Availabililty and Links
* [npmjs.org (npm package)](https://www.npmjs.com/package/@hosttoday/ht-docker-node) * [npmjs.org (npm package)](https://www.npmjs.com/package/@hosttoday/ht-docker-node)

View File

@ -1,10 +1,11 @@
# check if npmci is available # check if npmci is available
npm init -y npm init -y
npmci -v npmci -v
npm set registry https://verdaccio.lossless.one
# TODO update npmci to not require package.json # TODO update npmci to not require package.json
npmci node install stable npmci node install stable
# check if npm picks it up # check if npm picks it up
npmci command npm install -g @gitzone/tsrun npmci command pnpm install -g @gitzone/tsrun
npmci command tsrun -v npmci command tsrun -v

View File

@ -1,5 +1,6 @@
# npm # npm
npm -v npm -v
node -v node -v
npm set registry https://verdaccio.lossless.one
npm install -g @gitzone/tsrun npm install -g @gitzone/tsrun
# tsrun -v # tsrun -v