Compare commits

...

18 Commits

Author SHA1 Message Date
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
5 changed files with 15 additions and 18 deletions

View File

@ -3,7 +3,7 @@ LABEL author="Lossless GmbH <hello@lossless.com>"
WORKDIR /workspace WORKDIR /workspace
# important environment variables # 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="18.15.0" NODE_VERSION_STABLE="18.15.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 \
@ -65,6 +65,8 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
libnss3 \ libnss3 \
lsb-release \ lsb-release \
xdg-utils \ xdg-utils \
# network
iputils-ping \
# chrome # chrome
&& wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb \ && wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb \
@ -82,18 +84,18 @@ 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
# 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 \ RUN bash -c "source $NVM_DIR/nvm.sh \
&& nvm install $NODE_VERSION_STABLE \ && nvm install $NODE_VERSION_STABLE \
&& nvm alias default $NODE_VERSION_STABLE \ && nvm alias default $NODE_VERSION_STABLE \
&& nvm use default \ && nvm use default \
&& npm config set unsafe-perm true \ && curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm && pnpm upgrade -g && pnpm -v \
&& npm install -g agentkeepalive \ && pnpm config set unsafe-perm true \
&& npm install -g npm" && pnpm install -g agentkeepalive
ENV NODE_PATH $NVM_DIR/v$NODE_VERSION_STABLE/lib/node_modules 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 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

@ -3,7 +3,7 @@ LABEL author="Lossless GmbH <hello@lossless.com>"
#pnpm #pnpm
ENV PNPM_HOME="/root/.local/share/pnpm/pnpm" ENV PNPM_HOME="/root/.local/share/pnpm/pnpm"
RUN apk add curl && mkdir -p ${PNPM_HOME} RUN apk add --no-cache curl iputils bash && mkdir -p ${PNPM_HOME}
ENV PATH="$PNPM_HOME:$PATH" 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 curl -fsSL "https://github.com/pnpm/pnpm/releases/latest/download/pnpm-linuxstatic-x64" -o /bin/pnpm; chmod +x /bin/pnpm;
RUN pnpm -v RUN pnpm -v

View File

@ -2,12 +2,7 @@ FROM hosttoday/ht-docker-node:latest
LABEL author="Lossless GmbH <hello@lossless.com>" LABEL author="Lossless GmbH <hello@lossless.com>"
RUN bash -c "source $NVM_DIR/nvm.sh \ RUN bash -c "source $NVM_DIR/nvm.sh \
&& nvm install $NODE_VERSION_LTS \ && 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"
ENV NODE_PATH $NVM_DIR/v$NODE_VERSION_LTS/lib/node_modules ENV NODE_PATH $NVM_DIR/v$NODE_VERSION_LTS/lib/node_modules
ENV PATH $NVM_DIR/versions/node/v$NODE_VERSION_LTS/bin:$PATH ENV PATH $NVM_DIR/versions/node/v$NODE_VERSION_LTS/bin:$PATH

2
package-lock.json generated
View File

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

View File

@ -1,6 +1,6 @@
{ {
"name": "ht-docker-node", "name": "ht-docker-node",
"version": "5.0.99", "version": "5.0.108",
"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": {