Compare commits
34 Commits
Author | SHA1 | Date | |
---|---|---|---|
12c95e4da9 | |||
9cf189b77b | |||
8669c3cc70 | |||
c005ac8995 | |||
594cbc119c | |||
df92a41d60 | |||
4b23a3aad8 | |||
e4da377993 | |||
80725b92f1 | |||
2aeb8f6546 | |||
f10bb7c18d | |||
6b494cdecb | |||
10eed74adf | |||
9014bf95e3 | |||
0b8fbfc343 | |||
b4480d73eb | |||
18fc2c673a | |||
8c8bf18610 | |||
304ab9fdbf | |||
2a917dbab4 | |||
7bfb232f63 | |||
6adc60f74c | |||
61ef4951f6 | |||
a24403304f | |||
4435fa2567 | |||
1155205cf7 | |||
8684837a7b | |||
87610140b6 | |||
512955eb0a | |||
a1dda00d41 | |||
0846f649d4 | |||
57b66c8172 | |||
939c168712 | |||
759754937c |
23
Dockerfile
23
Dockerfile
@ -3,17 +3,19 @@ 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 \
|
||||||
&& apt-get update \
|
&& apt-get update \
|
||||||
&& apt-get upgrade --no-install-recommends -y \
|
&& apt-get upgrade --no-install-recommends -y \
|
||||||
&& apt-get install -y -q --no-install-recommends \
|
&& apt-get install -y -q --no-install-recommends \
|
||||||
|
# base libs
|
||||||
software-properties-common \
|
software-properties-common \
|
||||||
apt-transport-https \
|
apt-transport-https \
|
||||||
build-essential \
|
build-essential \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
|
gpg-agent \
|
||||||
curl \
|
curl \
|
||||||
g++ \
|
g++ \
|
||||||
gcc \
|
gcc \
|
||||||
@ -25,10 +27,10 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
|
|||||||
rsync \
|
rsync \
|
||||||
ssh \
|
ssh \
|
||||||
wget \
|
wget \
|
||||||
|
# puppeteer
|
||||||
gconf-service \
|
gconf-service \
|
||||||
libasound2 \
|
libasound2 \
|
||||||
libatk1.0-0 \
|
libatk1.0-0 \
|
||||||
libatk-bridge2.0-0 \
|
|
||||||
libc6 \
|
libc6 \
|
||||||
libcairo2 \
|
libcairo2 \
|
||||||
libcups2 \
|
libcups2 \
|
||||||
@ -57,16 +59,23 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
|
|||||||
libxrender1 \
|
libxrender1 \
|
||||||
libxss1 \
|
libxss1 \
|
||||||
libxtst6 \
|
libxtst6 \
|
||||||
|
ca-certificates \
|
||||||
fonts-liberation \
|
fonts-liberation \
|
||||||
libappindicator1 \
|
libappindicator1 \
|
||||||
libnss3 \
|
libnss3 \
|
||||||
lsb-release \
|
lsb-release \
|
||||||
xdg-utils \
|
xdg-utils \
|
||||||
libcurl4 \
|
|
||||||
libssl-dev \
|
# chrome
|
||||||
openssl \
|
&& wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb \
|
||||||
libssl1.0.0 \
|
&& apt install -y -q --no-install-recommends ./google-chrome-stable_current_amd64.deb \
|
||||||
mongodb \
|
|
||||||
|
# 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 \
|
&& apt-get clean \
|
||||||
&& rm -r /var/lib/apt/lists/*
|
&& rm -r /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
@ -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
Dockerfile_stableinit
Normal file
6
Dockerfile_stableinit
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
FROM hosttoday/ht-docker-node:stable
|
||||||
|
# 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", "--"]
|
@ -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
2
package-lock.json
generated
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "ht-docker-node",
|
"name": "ht-docker-node",
|
||||||
"version": "5.0.67",
|
"version": "5.0.84",
|
||||||
"lockfileVersion": 1
|
"lockfileVersion": 1
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "ht-docker-node",
|
"name": "ht-docker-node",
|
||||||
"version": "5.0.67",
|
"version": "5.0.84",
|
||||||
"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": {
|
||||||
|
@ -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)
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
# 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
|
||||||
|
@ -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
|
Reference in New Issue
Block a user