Compare commits
20 Commits
Author | SHA1 | Date | |
---|---|---|---|
7c4a71cd4c | |||
1c0837c509 | |||
1912e3c727 | |||
e758a35e0a | |||
5a3c7369d9 | |||
8b91eafe26 | |||
3ce538e94f | |||
00f0fae876 | |||
ebb82a445c | |||
7ec5a147c9 | |||
385780e50c | |||
b894a361bd | |||
f0747237cf | |||
89ba2f5a9f | |||
c295ad18be | |||
afad2c3654 | |||
409b0c60a1 | |||
feb57f1d36 | |||
80f0a0d9dc | |||
c2ba244375 |
@ -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 \
|
||||||
|
@ -1,14 +1,9 @@
|
|||||||
FROM node:18.7.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 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
|
|
||||||
|
|
||||||
#pnpm
|
#pnpm
|
||||||
ENV PNPM_HOME="/root/.local/share/pnpm/pnpm"
|
ENV PNPM_HOME="/root/.local/share/pnpm/pnpm"
|
||||||
RUN 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
|
||||||
|
@ -1,2 +0,0 @@
|
|||||||
FROM hosttoday/ht-docker-node:alpine
|
|
||||||
RUN pnpm install -g @shipzone/npmci
|
|
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
|
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.92",
|
"version": "5.0.102",
|
||||||
"lockfileVersion": 1
|
"lockfileVersion": 1
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "ht-docker-node",
|
"name": "ht-docker-node",
|
||||||
"version": "5.0.92",
|
"version": "5.0.102",
|
||||||
"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,7 +1,6 @@
|
|||||||
# 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,6 +1,5 @@
|
|||||||
# npm
|
# npm
|
||||||
npm -v
|
npm -v
|
||||||
node -v
|
node -v
|
||||||
npm set registry https://verdaccio.lossless.one
|
pnpm install -g @gitzone/tsrun
|
||||||
npm install -g @gitzone/tsrun
|
tsrun -v
|
||||||
# tsrun -v
|
|
Reference in New Issue
Block a user