Compare commits

..

43 Commits

Author SHA1 Message Date
b5e8ac3b59 5.0.115 2024-04-23 08:57:55 +02:00
bfb1b80180 5.0.114 2024-04-23 08:52:16 +02:00
3e0006f243 fix(core): update 2024-04-23 08:52:15 +02:00
60e9a2a207 5.0.113 2023-04-02 13:22:12 +02:00
7422d9c146 fix(core): update 2023-04-02 13:22:11 +02:00
5821c9f6e6 5.0.112 2023-04-02 12:56:24 +02:00
28746e0349 fix(core): update 2023-04-02 12:56:23 +02:00
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
10 changed files with 33 additions and 34 deletions

View File

@ -1,9 +1,9 @@
FROM ubuntu:20.04
LABEL author="Lossless GmbH <hello@lossless.com>"
LABEL author="Task Venture Capital GmbH <hello@task.vc>"
WORKDIR /workspace
# important environment variables
ENV NODE_VERSION_LTS="16.16.0" NODE_VERSION_STABLE="18.7.0" NVM_DIR="/usr/local/nvm"
ENV NODE_VERSION_LTS="20.12.2" NODE_VERSION_STABLE="20.12.2" NVM_DIR="/usr/local/nvm"
# Set debconf to run non-interactively and install packages
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections \
@ -65,6 +65,9 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
libnss3 \
lsb-release \
xdg-utils \
# network
iputils-ping \
dnsutils \
# chrome
&& wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb \
@ -82,18 +85,18 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
# 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 \
&& npm config set unsafe-perm true \
&& npm install -g agentkeepalive \
&& npm install -g npm"
&& 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
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,14 +1,9 @@
FROM node:18.7.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
FROM node:18.15.0-alpine
LABEL author="Task Venture Capital GmbH <hello@task.vc>"
#pnpm
ENV PNPM_HOME="/root/.local/share/pnpm/pnpm"
RUN mkdir -p ${PNPM_HOME}
RUN apk add --no-cache curl iputils bind-tools 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

View File

@ -1,2 +1,10 @@
FROM hosttoday/ht-docker-node:alpine
RUN pnpm install -g @shipzone/npmci
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,5 +1,5 @@
FROM hosttoday/ht-docker-node:latest as stage1
LABEL author="Lossless GmbH <hello@lossless.com>"
LABEL author="Task Venture Capital GmbH <hello@task.vc>"
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
# update-binfmts --enable qemu-arm \

View File

@ -1,13 +1,8 @@
FROM hosttoday/ht-docker-node:latest
LABEL author="Lossless GmbH <hello@lossless.com>"
LABEL author="Task Venture Capital GmbH <hello@task.vc>"
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:latest
LABEL author="Lossless GmbH <hello@lossless.com>"
LABEL author="Task Venture Capital GmbH <hello@task.vc>"
RUN pnpm install -g @shipzone/npmci

2
package-lock.json generated
View File

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

View File

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

View File

@ -1,7 +1,6 @@
# check if npmci is available
npm init -y
npmci -v
npm set registry https://verdaccio.lossless.one
# TODO update npmci to not require package.json
npmci node install stable

View File

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