Compare commits
18 Commits
Author | SHA1 | Date | |
---|---|---|---|
ebd63262ab | |||
af16867f69 | |||
812979b0bf | |||
1864b4f0e1 | |||
12c95e4da9 | |||
9cf189b77b | |||
8669c3cc70 | |||
c005ac8995 | |||
594cbc119c | |||
df92a41d60 | |||
4b23a3aad8 | |||
e4da377993 | |||
80725b92f1 | |||
2aeb8f6546 | |||
f10bb7c18d | |||
6b494cdecb | |||
10eed74adf | |||
9014bf95e3 |
@ -1,9 +1,9 @@
|
||||
FROM ubuntu:bionic
|
||||
FROM ubuntu:20.04
|
||||
LABEL author="Lossless GmbH <hello@lossless.com>"
|
||||
|
||||
WORKDIR /workspace
|
||||
# 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
|
||||
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections \
|
||||
@ -81,3 +81,5 @@ 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
|
||||
RUN curl -fsSL https://get.pnpm.io/install.sh | sh - \
|
||||
&& pnpm setup
|
||||
|
@ -1,10 +1,10 @@
|
||||
FROM node:14.15.4-alpine
|
||||
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
|
||||
|
||||
RUN curl -fsSL "https://github.com/pnpm/pnpm/releases/latest/download/pnpm-linuxstatic-x64" -o /bin/pnpm; chmod +x /bin/pnpm;
|
||||
|
||||
ENV NODE_OPTIONS="--max_old_space_size=1000"
|
@ -1,4 +1,4 @@
|
||||
FROM hosttoday/ht-docker-node:stable
|
||||
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: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",
|
||||
"version": "5.0.77",
|
||||
"version": "5.0.86",
|
||||
"lockfileVersion": 1
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ht-docker-node",
|
||||
"version": "5.0.77",
|
||||
"version": "5.0.86",
|
||||
"description": "docker image with nodejs and shipzone.io support",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
@ -1,6 +1,7 @@
|
||||
# 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
|
||||
|
@ -1,5 +1,6 @@
|
||||
# npm
|
||||
npm -v
|
||||
node -v
|
||||
npm set registry https://verdaccio.lossless.one
|
||||
npm install -g @gitzone/tsrun
|
||||
# tsrun -v
|
Reference in New Issue
Block a user