Compare commits

...

24 Commits

Author SHA1 Message Date
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
847ff6aded 5.0.62 2021-05-05 15:13:50 +00:00
dd40629f09 fix(core): update 2021-05-05 15:13:50 +00:00
9f2d8ca700 5.0.61 2021-05-05 15:07:22 +00:00
5b6e13f3fd fix(core): update 2021-05-05 15:07:21 +00:00
5f02b4707c 5.0.60 2021-05-05 14:56:39 +00:00
a6c8f5c9fc fix(core): update 2021-05-05 14:56:38 +00:00
934b1b7c2f 5.0.59 2021-05-05 13:48:19 +00:00
cedebef214 fix(core): update 2021-05-05 13:48:18 +00:00
8 changed files with 22 additions and 13 deletions

View File

@ -1,15 +1,16 @@
FROM ubuntu:xenial
FROM ubuntu:bionic
LABEL author="Lossless GmbH <hello@lossless.com>"
WORKDIR /workspace
# important environment variables
ENV NODE_VERSION_LTS="14.15.4" NODE_VERSION_STABLE="15.8.0" NVM_DIR="/usr/local/nvm"
ENV NODE_VERSION_LTS="14.18.1" NODE_VERSION_STABLE="16.11.1" 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 \
@ -21,13 +22,16 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
make \
openssl \
python \
python3 \
rsync \
ssh \
wget \
# mongodb
mongodb \
# puppeteer
gconf-service \
libasound2 \
libatk1.0-0 \
libatk-bridge2.0-0 \
libc6 \
libcairo2 \
libcups2 \
@ -56,12 +60,14 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
libxrender1 \
libxss1 \
libxtst6 \
ca-certificates \
fonts-liberation \
libappindicator1 \
libnss3 \
lsb-release \
xdg-utils \
&& apt-get update \
# && 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 \
&& apt-get clean \
&& rm -r /var/lib/apt/lists/*

View File

@ -1,4 +1,10 @@
FROM node:14.15.4-alpine
LABEL author="Lossless GmbH <hello@lossless.com>"
RUN apk update && apk add bash libc6-compat
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
ENV NODE_OPTIONS="--max_old_space_size=1000"

View File

@ -1,4 +1,4 @@
FROM hosttoday/ht-docker-node:latest as stage1
FROM hosttoday/ht-docker-node:stable 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

@ -6,6 +6,7 @@ RUN bash -c "source $NVM_DIR/nvm.sh \
&& 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

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

@ -6,6 +6,7 @@ RUN bash -c "source $NVM_DIR/nvm.sh \
&& 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

2
package-lock.json generated
View File

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

View File

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