Compare commits

...

97 Commits

Author SHA1 Message Date
65cae1e013 5.0.111 2023-03-29 12:53:57 +02:00
39f8227d1e fix(core): update 2023-03-29 12:53:57 +02:00
7831edc5f0 5.0.110 2023-03-29 12:43:00 +02:00
66699e8b07 fix(core): update 2023-03-29 12:42:59 +02:00
d7dd21bd69 5.0.109 2023-03-29 12:31:14 +02:00
ad2fc45c8b fix(core): update 2023-03-29 12:31:14 +02:00
02cdabd87b 5.0.108 2023-03-29 12:23:59 +02:00
e704131949 fix(core): update 2023-03-29 12:23:58 +02:00
c4b79e9d40 5.0.107 2023-03-29 12:13:25 +02:00
df97e0f010 fix(core): update 2023-03-29 12:13:24 +02:00
1a7aa7b178 5.0.106 2023-03-29 12:03:58 +02:00
b1c1efce87 fix(core): update 2023-03-29 12:03:57 +02:00
c399621989 5.0.105 2023-03-29 11:50:44 +02:00
e81806e9cc fix(core): update 2023-03-29 11:50:43 +02:00
b7961e0cf4 5.0.104 2023-03-29 11:37:06 +02:00
2319975b25 fix(core): update 2023-03-29 11:37:05 +02:00
c070b80cad 5.0.103 2022-12-17 15:41:48 +01:00
aaace28106 fix(core): update 2022-12-17 15:41:47 +01:00
7c4a71cd4c 5.0.102 2022-12-16 18:37:13 +01:00
1c0837c509 fix(core): update 2022-12-16 18:37:13 +01:00
1912e3c727 5.0.101 2022-10-21 12:01:08 +02:00
e758a35e0a fix(core): update 2022-10-21 12:01:08 +02:00
5a3c7369d9 5.0.100 2022-10-20 14:01:16 +02:00
8b91eafe26 fix(core): update 2022-10-20 14:01:16 +02:00
3ce538e94f 5.0.99 2022-10-20 13:56:29 +02:00
00f0fae876 fix(core): update 2022-10-20 13:56:29 +02:00
ebb82a445c 5.0.98 2022-10-20 13:48:44 +02:00
7ec5a147c9 fix(core): update 2022-10-20 13:48:44 +02:00
385780e50c 5.0.97 2022-10-19 01:04:27 +02:00
b894a361bd fix(core): update 2022-10-19 01:04:27 +02:00
f0747237cf 5.0.96 2022-10-19 00:38:05 +02:00
89ba2f5a9f fix(core): update 2022-10-19 00:38:05 +02:00
c295ad18be 5.0.95 2022-10-19 00:31:44 +02:00
afad2c3654 fix(core): update 2022-10-19 00:31:43 +02:00
409b0c60a1 5.0.94 2022-10-18 23:35:13 +02:00
feb57f1d36 fix(core): update 2022-10-18 23:35:13 +02:00
80f0a0d9dc 5.0.93 2022-10-18 23:23:39 +02:00
c2ba244375 fix(core): update 2022-10-18 23:23:38 +02:00
f859d910b6 5.0.92 2022-10-17 13:08:07 +02:00
bc71510cd1 fix(core): update 2022-10-17 13:08:06 +02:00
181b3643b1 5.0.91 2022-10-15 10:32:31 +02:00
85bee13ba9 fix(core): update 2022-10-15 10:32:31 +02:00
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
304ab9fdbf 5.0.75 2021-11-12 18:46:43 +01:00
2a917dbab4 fix(core): update 2021-11-12 18:46:42 +01:00
7bfb232f63 5.0.74 2021-11-12 18:43:09 +01:00
6adc60f74c fix(core): update 2021-11-12 18:43:09 +01:00
61ef4951f6 5.0.73 2021-11-12 18:24:58 +01:00
a24403304f fix(core): update 2021-11-12 18:24:58 +01:00
4435fa2567 5.0.72 2021-11-12 18:19:15 +01:00
1155205cf7 fix(core): update 2021-11-12 18:19:15 +01:00
8684837a7b 5.0.71 2021-11-07 19:01:54 +01:00
87610140b6 fix(core): update 2021-11-07 19:01:54 +01:00
512955eb0a 5.0.70 2021-11-07 18:44:28 +01:00
a1dda00d41 fix(core): update 2021-11-07 18:44:28 +01:00
0846f649d4 5.0.69 2021-11-07 16:25:14 +01:00
57b66c8172 fix(core): update 2021-11-07 16:25:13 +01:00
939c168712 5.0.68 2021-11-07 16:24:05 +01:00
759754937c fix(core): update 2021-11-07 16:24:04 +01:00
74b25307de 5.0.67 2021-10-22 19:45:49 +02:00
22af5432db fix(core): update 2021-10-22 19:45:49 +02:00
900c126a13 5.0.66 2021-10-22 19:40:16 +02:00
92fd3c36cf fix(core): update 2021-10-22 19:40:16 +02:00
59db72f452 5.0.65 2021-10-22 19:34:40 +02:00
87b1c58e0f fix(core): update 2021-10-22 19:34:39 +02:00
f751354a83 5.0.64 2021-10-22 19:31:15 +02:00
4586a2f34e fix(core): update 2021-10-22 19:31:15 +02:00
ffd299114a 5.0.63 2021-10-19 17:02:28 +02:00
df2cc6ccee fix(core): update 2021-10-19 17:02:27 +02:00
17 changed files with 69 additions and 63 deletions

View File

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

View File

@ -1,19 +1,21 @@
FROM ubuntu:xenial
FROM ubuntu:20.04
LABEL author="Lossless GmbH <hello@lossless.com>"
WORKDIR /workspace
# important environment variables
ENV NODE_VERSION_LTS="14.16.1" NODE_VERSION_STABLE="16.1.0" NVM_DIR="/usr/local/nvm"
ENV NODE_VERSION_LTS="18.15.0" NODE_VERSION_STABLE="18.15.0" NVM_DIR="/usr/local/nvm"
# Set debconf to run non-interactively and install packages
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections \
&& apt-get update \
&& apt-get upgrade --no-install-recommends -y \
&& apt-get install -y -q --no-install-recommends \
# base libs
software-properties-common \
apt-transport-https \
build-essential \
ca-certificates \
gpg-agent \
curl \
g++ \
gcc \
@ -21,13 +23,14 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
make \
openssl \
python \
python3 \
rsync \
ssh \
wget \
# puppeteer
gconf-service \
libasound2 \
libatk1.0-0 \
libatk-bridge2.0-0 \
libc6 \
libcairo2 \
libcups2 \
@ -56,14 +59,43 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
libxrender1 \
libxss1 \
libxtst6 \
ca-certificates \
fonts-liberation \
libappindicator1 \
libnss3 \
lsb-release \
xdg-utils \
# network
iputils-ping \
# chrome
&& wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb \
&& apt install -y -q --no-install-recommends ./google-chrome-stable_current_amd64.deb \
# mongodb
&& curl -fsSL https://www.mongodb.org/static/pgp/server-4.4.asc | apt-key add - \
&& echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.4 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-4.4.list \
&& apt-get update \
&& apt-get install -y -q --no-install-recommends \
mongodb-org \
&& apt-get clean \
&& rm -r /var/lib/apt/lists/*
# Install nvm with node and npm
RUN curl https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
# prepare pnpm
ENV PNPM_HOME="/root/.local/share/pnpm/pnpm"
RUN mkdir -p ${PNPM_HOME}
ENV PATH="$PNPM_HOME:$PATH"
RUN bash -c "source $NVM_DIR/nvm.sh \
&& nvm install $NODE_VERSION_STABLE \
&& nvm alias default $NODE_VERSION_STABLE \
&& nvm use default \
&& curl -fsSL https://get.pnpm.io/install.sh | bash - \
&& pnpm -v \
&& pnpm config set unsafe-perm true"
ENV NODE_PATH $NVM_DIR/v$NODE_VERSION_STABLE/lib/node_modules
ENV PATH $NVM_DIR/versions/node/v$NODE_VERSION_STABLE/bin:$PATH

View File

@ -1,10 +1,11 @@
FROM node:14.15.4-alpine
FROM node:19.0.0-alpine
LABEL author="Lossless GmbH <hello@lossless.com>"
RUN apk update && apk add bash libc6-compat alpine-sdk
ENV PYTHONUNBUFFERED=1
RUN apk add --update --no-cache python3 && ln -sf python3 /usr/bin/python
RUN python3 -m ensurepip
RUN pip3 install --no-cache --upgrade pip setuptools
#pnpm
ENV PNPM_HOME="/root/.local/share/pnpm/pnpm"
RUN apk add --no-cache curl iputils bash && 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"

10
Dockerfile_alpinenpmci Normal file
View File

@ -0,0 +1,10 @@
FROM hosttoday/ht-docker-node:alpine
RUN apk update && apk add bash libc6-compat alpine-sdk
ENV PYTHONUNBUFFERED=1
RUN apk add --update --no-cache python3 && ln -sf python3 /usr/bin/python
RUN python3 -m ensurepip
RUN pip3 install --no-cache --upgrade pip setuptools
RUN apk add --update alpine-sdk && \
apk add libffi-dev openssl-dev && \
apk add python3-dev && \
pnpm install -g @shipzone/npmci node-gyp

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

View File

@ -2,12 +2,7 @@ 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_LTS \
&& nvm alias default $NODE_VERSION_LTS \
&& nvm use default \
&& npm config set unsafe-perm true \
&& npm install -g agentkeepalive \
&& npm install -g npm"
&& nvm install $NODE_VERSION_LTS"
ENV NODE_PATH $NVM_DIR/v$NODE_VERSION_LTS/lib/node_modules
ENV PATH $NVM_DIR/versions/node/v$NODE_VERSION_LTS/bin:$PATH

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>"
RUN npm install -g @shipzone/npmci
RUN pnpm install -g @shipzone/npmci

View File

@ -1,5 +0,0 @@
FROM hosttoday/ht-docker-node:npmci
LABEL author="Lossless GmbH <hello@lossless.com>"
RUN npm install -g snyk

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",
"version": "5.0.62",
"version": "5.0.111",
"lockfileVersion": 1
}

View File

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

View File

@ -1,5 +1,5 @@
# @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
* [npmjs.org (npm package)](https://www.npmjs.com/package/@hosttoday/ht-docker-node)

View File

@ -6,5 +6,5 @@ npmci -v
npmci node install stable
# check if npm picks it up
npmci command npm install -g @gitzone/tsrun
npmci command pnpm install -g @gitzone/tsrun
npmci command tsrun -v

View File

@ -1,5 +1,5 @@
# npm
npm -v
node -v
npm install -g @gitzone/tsrun
# tsrun -v
pnpm install -g @gitzone/tsrun
tsrun -v

View File

@ -1,17 +0,0 @@
{
"extends": ["tslint:latest", "tslint-config-prettier"],
"rules": {
"semicolon": [true, "always"],
"no-console": false,
"ordered-imports": false,
"object-literal-sort-keys": false,
"member-ordering": {
"options":{
"order": [
"static-method"
]
}
}
},
"defaultSeverity": "warning"
}