Compare commits
184 Commits
Author | SHA1 | Date | |
---|---|---|---|
65cae1e013 | |||
39f8227d1e | |||
7831edc5f0 | |||
66699e8b07 | |||
d7dd21bd69 | |||
ad2fc45c8b | |||
02cdabd87b | |||
e704131949 | |||
c4b79e9d40 | |||
df97e0f010 | |||
1a7aa7b178 | |||
b1c1efce87 | |||
c399621989 | |||
e81806e9cc | |||
b7961e0cf4 | |||
2319975b25 | |||
c070b80cad | |||
aaace28106 | |||
7c4a71cd4c | |||
1c0837c509 | |||
1912e3c727 | |||
e758a35e0a | |||
5a3c7369d9 | |||
8b91eafe26 | |||
3ce538e94f | |||
00f0fae876 | |||
ebb82a445c | |||
7ec5a147c9 | |||
385780e50c | |||
b894a361bd | |||
f0747237cf | |||
89ba2f5a9f | |||
c295ad18be | |||
afad2c3654 | |||
409b0c60a1 | |||
feb57f1d36 | |||
80f0a0d9dc | |||
c2ba244375 | |||
f859d910b6 | |||
bc71510cd1 | |||
181b3643b1 | |||
85bee13ba9 | |||
74c60c8d4f | |||
0c5f20ed36 | |||
4066098153 | |||
a9fcf3c64e | |||
03cdeb1cd4 | |||
d4cf1b5bc7 | |||
5da58d1f18 | |||
ebd63262ab | |||
af16867f69 | |||
812979b0bf | |||
1864b4f0e1 | |||
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 | |||
74b25307de | |||
22af5432db | |||
900c126a13 | |||
92fd3c36cf | |||
59db72f452 | |||
87b1c58e0f | |||
f751354a83 | |||
4586a2f34e | |||
ffd299114a | |||
df2cc6ccee | |||
847ff6aded | |||
dd40629f09 | |||
9f2d8ca700 | |||
5b6e13f3fd | |||
5f02b4707c | |||
a6c8f5c9fc | |||
934b1b7c2f | |||
cedebef214 | |||
96d8d43018 | |||
dcd581929b | |||
d2629cd453 | |||
b9070b3a35 | |||
25849cd990 | |||
8586b68bf7 | |||
9f7b61feeb | |||
ee58a43ed4 | |||
f1dc84f8a8 | |||
d5fa32786c | |||
cd4b629f07 | |||
eca7a18409 | |||
1e620394ac | |||
39b3d5df91 | |||
2b0cceb822 | |||
e25fb766d0 | |||
83f47a5d33 | |||
c9b0009cd3 | |||
3e58b1c7c6 | |||
08515255bb | |||
4cfd049e0c | |||
0472feeaeb | |||
d8b1f5cf83 | |||
bc05ac5ce8 | |||
5e58389bbe | |||
2cef721039 | |||
1e5677e7b3 | |||
a16aa527e0 | |||
8a3ebe4edd | |||
3754370601 | |||
98e9bb7ccd | |||
d15e063c92 | |||
be3ae65d72 | |||
b75e5ef366 | |||
fd35505647 | |||
c77d2bf370 | |||
28439a4b57 | |||
7d68fdf34e | |||
8a0beb0748 | |||
54440f3d87 | |||
c3690d0ad0 | |||
469b9cda79 | |||
274939af46 | |||
edd645a222 | |||
bf3972cf55 | |||
3b581d1e11 | |||
d4f83ecdda | |||
b369197763 | |||
52cde0c4d9 | |||
e118fab8c6 | |||
b6fe7e1b36 | |||
9b264755ab | |||
11d6f9a1ec | |||
fecbcdde64 | |||
9e1d21931e | |||
81ef1f1fd9 | |||
9fa5bee1ee | |||
36099654b4 | |||
99bb05ee51 | |||
a020d12a2e | |||
f393560c78 | |||
258de44568 | |||
02b846642e | |||
7f05f5da84 | |||
a818bf8aeb | |||
d182b93d65 | |||
875da4bc76 | |||
3b2729f9bf | |||
d309093c77 | |||
78544b9c7a | |||
0b80f1b2ac | |||
094fa46f80 | |||
7c8e796611 | |||
30188f8aeb | |||
f829160720 | |||
755ddd2d77 | |||
9fbcb625d3 | |||
5ef828500b | |||
a763bc61a0 |
5
.gitignore
vendored
5
.gitignore
vendored
@ -8,9 +8,12 @@ pages/
|
|||||||
# installs
|
# installs
|
||||||
node_modules/
|
node_modules/
|
||||||
|
|
||||||
# caches and builds
|
# caches
|
||||||
.yarn/
|
.yarn/
|
||||||
.cache/
|
.cache/
|
||||||
|
.rpt2_cache
|
||||||
|
|
||||||
|
# builds
|
||||||
dist/
|
dist/
|
||||||
dist_web/
|
dist_web/
|
||||||
dist_serve/
|
dist_serve/
|
||||||
|
@ -1,76 +1,52 @@
|
|||||||
# gitzone docker
|
# gitzone ci_docker
|
||||||
image: hosttoday/ht-docker-dbase:npmci
|
image: registry.gitlab.com/hosttoday/ht-docker-node:npmci
|
||||||
services:
|
|
||||||
- docker:dind
|
|
||||||
|
|
||||||
stages:
|
cache:
|
||||||
- buildAndTest
|
paths:
|
||||||
- triggerPagesVerify
|
- .npmci-cache/
|
||||||
|
key: "$CI_BUILD_STAGE"
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- npm install -g @shipzone/npmci
|
- npmci npm prepare
|
||||||
- npmci docker login
|
|
||||||
|
|
||||||
buildTest:
|
stages:
|
||||||
stage: buildAndTest
|
- test
|
||||||
|
- release
|
||||||
|
- trigger
|
||||||
|
- pages
|
||||||
|
|
||||||
|
testStable:
|
||||||
|
stage: test
|
||||||
script:
|
script:
|
||||||
- npmci docker build
|
- npmci node install stable
|
||||||
- npmci docker test
|
- npmci npm install
|
||||||
except:
|
- npmci npm test
|
||||||
- tags
|
coverage: /\d+.?\d+?\%\s*coverage/
|
||||||
- triggers
|
|
||||||
tags:
|
tags:
|
||||||
- lossless
|
- docker
|
||||||
- priv
|
|
||||||
|
|
||||||
buildTestRelease:
|
release:
|
||||||
stage: buildAndTest
|
image: registry.gitlab.com/hosttoday/ht-docker-dbase:npmci
|
||||||
|
services:
|
||||||
|
- docker:stable-dind
|
||||||
|
stage: release
|
||||||
script:
|
script:
|
||||||
|
- npmci node install lts
|
||||||
|
- npmci docker login
|
||||||
- npmci docker build
|
- npmci docker build
|
||||||
- npmci docker test
|
- npmci docker test
|
||||||
- npmci docker push registry.gitlab.com test
|
|
||||||
- npmci docker push registry.gitlab.com
|
- npmci docker push registry.gitlab.com
|
||||||
- npmci docker push docker.io
|
- npmci docker push docker.io
|
||||||
only:
|
only:
|
||||||
- tags
|
- tags
|
||||||
- triggers
|
|
||||||
tags:
|
tags:
|
||||||
- lossless
|
- docker
|
||||||
- priv
|
- priv
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
stage: triggerPagesVerify
|
stage: trigger
|
||||||
script:
|
script:
|
||||||
- npmci trigger
|
- npmci trigger
|
||||||
only:
|
|
||||||
- tags
|
|
||||||
- triggers
|
|
||||||
tags:
|
|
||||||
- lossless
|
|
||||||
- priv
|
|
||||||
|
|
||||||
pages:
|
|
||||||
stage: triggerPagesVerify
|
|
||||||
before_script:
|
|
||||||
- 'npmci -v'
|
|
||||||
image: hosttoday/ht-docker-node:npmci
|
|
||||||
script:
|
|
||||||
# - npmci command npm install -g npmpage
|
|
||||||
# - npmci command npmpage
|
|
||||||
- echo "nothing here yet until @gitzone/npmpage is ready!"
|
|
||||||
only:
|
|
||||||
- tags
|
|
||||||
tags:
|
|
||||||
- docker
|
|
||||||
artifacts:
|
|
||||||
expire_in: 1 week
|
|
||||||
paths:
|
|
||||||
- public
|
|
||||||
|
|
||||||
verify:
|
|
||||||
stage: triggerPagesVerify
|
|
||||||
script:
|
|
||||||
- npmci docker pull registry.gitlab.com test
|
|
||||||
only:
|
only:
|
||||||
- tags
|
- tags
|
||||||
tags:
|
tags:
|
||||||
|
38
Dockerfile
38
Dockerfile
@ -1,19 +1,21 @@
|
|||||||
FROM ubuntu:xenial
|
FROM ubuntu:20.04
|
||||||
LABEL author="Lossless GmbH <hello@lossless.com>"
|
LABEL author="Lossless GmbH <hello@lossless.com>"
|
||||||
|
|
||||||
WORKDIR /workspace
|
WORKDIR /workspace
|
||||||
# important environment variables
|
# important environment variables
|
||||||
ENV NODE_VERSION_LTS="10.13.0" NODE_VERSION_STABLE="11.2.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 \
|
||||||
&& 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 \
|
||||||
@ -21,13 +23,14 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
|
|||||||
make \
|
make \
|
||||||
openssl \
|
openssl \
|
||||||
python \
|
python \
|
||||||
|
python3 \
|
||||||
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 \
|
||||||
@ -56,14 +59,43 @@ 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 \
|
||||||
|
# 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 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/*
|
||||||
|
|
||||||
# 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 \
|
||||||
|
&& 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
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
FROM node:11.3.0-alpine
|
FROM node:19.0.0-alpine
|
||||||
LABEL author="Lossless GmbH <hello@lossless.com>"
|
LABEL author="Lossless GmbH <hello@lossless.com>"
|
||||||
RUN apk update && apk add bash libc6-compat
|
|
||||||
|
#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
10
Dockerfile_alpinenpmci
Normal 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
|
12
Dockerfile_iot
Normal file
12
Dockerfile_iot
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
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
|
||||||
|
# update-binfmts --enable qemu-arm \
|
||||||
|
# && update-binfmts --display qemu-arm \
|
||||||
|
# && mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc \
|
||||||
|
# && echo ':arm:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/bin/qemu-arm-static:' > /proc/sys/fs/binfmt_misc/register
|
||||||
|
|
||||||
|
FROM arm32v7/node:lts-jessie as stage2
|
||||||
|
COPY --from=stage1 /usr/bin/qemu-arm-static /usr/bin/qemu-arm-static
|
||||||
|
|
@ -2,11 +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 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
|
@ -1,4 +1,4 @@
|
|||||||
FROM hosttoday/ht-docker-node:stable
|
FROM hosttoday/ht-docker-node:latest
|
||||||
LABEL author="Lossless GmbH <hello@lossless.com>"
|
LABEL author="Lossless GmbH <hello@lossless.com>"
|
||||||
|
|
||||||
RUN npm install -g @shipzone/npmci
|
RUN pnpm install -g @shipzone/npmci
|
||||||
|
@ -1,4 +0,0 @@
|
|||||||
FROM hosttoday/ht-docker-node:stable
|
|
||||||
LABEL author="Lossless GmbH <hello@lossless.com>"
|
|
||||||
|
|
||||||
RUN npm install -g @shipzone/npmci @gitzone/tsdocker @gitzone/tsrun
|
|
@ -1,12 +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 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
6
Dockerfile_stableinit
Normal 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", "--"]
|
2
LICENSE
2
LICENSE
@ -1,6 +1,6 @@
|
|||||||
The MIT License (MIT)
|
The MIT License (MIT)
|
||||||
|
|
||||||
Copyright (c) 2016 Host.Today
|
Copyright (c) 2016 Lossless GmbH
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
18
npmextra.json
Normal file
18
npmextra.json
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
"gitzone": {
|
||||||
|
"module": {
|
||||||
|
"githost": "gitlab.com",
|
||||||
|
"gitscope": "hosttoday",
|
||||||
|
"gitrepo": "ht-docker-node",
|
||||||
|
"shortDescription": "docker image with nodejs and shipzone.io support",
|
||||||
|
"npmPackagename": "@hosttoday/ht-docker-node",
|
||||||
|
"license": "MIT"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"npmci": {
|
||||||
|
"dockerRegistries": [
|
||||||
|
"docker.io",
|
||||||
|
"registry.gitlab.com"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
@ -1,19 +0,0 @@
|
|||||||
FROM hosttoday/ht-docker-node:stable
|
|
||||||
LABEL author="Lossless GmbH <hello@lossless.com>"
|
|
||||||
|
|
||||||
# See https://crbug.com/795759
|
|
||||||
RUN apt-get update && apt-get install -yq libgconf-2-4 \
|
|
||||||
&& apt-get clean \
|
|
||||||
&& rm -r /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
# Install latest chrome dev package.
|
|
||||||
# Note: this installs the necessary libs to make the bundled version of Chromium that Puppeteer
|
|
||||||
# installs, work.
|
|
||||||
RUN apt-get update && apt-get install -y wget --no-install-recommends \
|
|
||||||
&& wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
|
|
||||||
&& sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' \
|
|
||||||
&& apt-get update \
|
|
||||||
&& apt-get install -y google-chrome-unstable \
|
|
||||||
--no-install-recommends \
|
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
|
||||||
&& rm -rf /src/*.deb
|
|
5
package-lock.json
generated
Normal file
5
package-lock.json
generated
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"name": "ht-docker-node",
|
||||||
|
"version": "5.0.111",
|
||||||
|
"lockfileVersion": 1
|
||||||
|
}
|
20
package.json
20
package.json
@ -1,10 +1,10 @@
|
|||||||
{
|
{
|
||||||
"name": "ht-docker-node",
|
"name": "ht-docker-node",
|
||||||
"version": "5.0.13",
|
"version": "5.0.111",
|
||||||
"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": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
"test": "echo \"no npm test specified\"",
|
||||||
"build": "echo \"Not needed for now\""
|
"build": "echo \"Not needed for now\""
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
@ -17,5 +17,19 @@
|
|||||||
"url": "https://github.com/HostToday/ht-docker-node/issues"
|
"url": "https://github.com/HostToday/ht-docker-node/issues"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/HostToday/ht-docker-node#readme",
|
"homepage": "https://github.com/HostToday/ht-docker-node#readme",
|
||||||
"private": true
|
"private": true,
|
||||||
|
"files": [
|
||||||
|
"ts/*",
|
||||||
|
"ts_web/*",
|
||||||
|
"dist/*",
|
||||||
|
"dist_web/*",
|
||||||
|
"dist_ts_web/*",
|
||||||
|
"assets/*",
|
||||||
|
"cli.js",
|
||||||
|
"npmextra.json",
|
||||||
|
"readme.md"
|
||||||
|
],
|
||||||
|
"directories": {
|
||||||
|
"test": "test"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
15
readme.md
15
readme.md
@ -1,5 +1,5 @@
|
|||||||
# @hosttoday/ht-docker-node
|
# @hosttoday/ht-docker-node
|
||||||
docker image with nodejs and ship.zone 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)
|
||||||
@ -29,10 +29,11 @@ RUN npmci install [node_version_number] // this installs node using node and set
|
|||||||
```
|
```
|
||||||
|
|
||||||
## Availability
|
## Availability
|
||||||
Registry | Image Path
|
|
||||||
--- | ---
|
| Registry | Image Path |
|
||||||
GitLab Registry | registry.gitlab.com/hosttoday/ht-docker-node
|
| --------------- | -------------------------------------------- |
|
||||||
Docker Hub | hosttoday/ht-docker-node
|
| GitLab Registry | registry.gitlab.com/hosttoday/ht-docker-node |
|
||||||
|
| Docker Hub | hosttoday/ht-docker-node |
|
||||||
|
|
||||||
## Flavour Overview
|
## Flavour Overview
|
||||||
|
|
||||||
@ -53,6 +54,6 @@ For further information read the linked docs at the top of this README.
|
|||||||
For further information read the linked docs at the top of this readme.
|
For further information read the linked docs at the top of this readme.
|
||||||
|
|
||||||
> MIT licensed | **©** [Lossless GmbH](https://lossless.gmbh)
|
> MIT licensed | **©** [Lossless GmbH](https://lossless.gmbh)
|
||||||
| By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy.html)
|
| By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy)
|
||||||
|
|
||||||
[](https://maintainedby.lossless.com)
|
[](https://maintainedby.lossless.com)
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
# check if npmci is available
|
# check if npmci is available
|
||||||
|
npm init -y
|
||||||
npmci -v
|
npmci -v
|
||||||
|
|
||||||
# check if we can use lts
|
# TODO update npmci to not require package.json
|
||||||
npmci install lts
|
npmci node install stable
|
||||||
|
|
||||||
# check if npm picks it up
|
# check if npm picks it up
|
||||||
npmci command npm install -g @gitzone/gitzone
|
npmci command pnpm install -g @gitzone/tsrun
|
||||||
npmci command gitzone -v
|
npmci command tsrun -v
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# npm
|
# npm
|
||||||
npm -v
|
npm -v
|
||||||
node -v
|
node -v
|
||||||
npm install -g @gitzone/gitzone
|
pnpm install -g @gitzone/tsrun
|
||||||
gitzone -v
|
tsrun -v
|
17
tslint.json
17
tslint.json
@ -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"
|
|
||||||
}
|
|
Reference in New Issue
Block a user