fix(core): update
This commit is contained in:
parent
ebd63262ab
commit
5da58d1f18
18
Dockerfile
18
Dockerfile
@ -81,5 +81,19 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
|
|||||||
|
|
||||||
# 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
|
||||||
RUN curl -fsSL https://get.pnpm.io/install.sh | sh - \
|
|
||||||
&& pnpm setup
|
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 agentkeepalive \
|
||||||
|
&& 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
|
||||||
|
|
||||||
|
ENV PNPM_HOME="/root/.local/share/pnpm/pnpm"
|
||||||
|
RUN mkdir -p ${PNPM_HOME}
|
||||||
|
ENV PATH="$PNPM_HOME:$PATH"
|
||||||
|
RUN curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm && pnpm -v
|
||||||
|
@ -5,6 +5,12 @@ ENV PYTHONUNBUFFERED=1
|
|||||||
RUN apk add --update --no-cache python3 && ln -sf python3 /usr/bin/python
|
RUN apk add --update --no-cache python3 && ln -sf python3 /usr/bin/python
|
||||||
RUN python3 -m ensurepip
|
RUN python3 -m ensurepip
|
||||||
RUN pip3 install --no-cache --upgrade pip setuptools
|
RUN pip3 install --no-cache --upgrade pip setuptools
|
||||||
|
|
||||||
|
#pnpm
|
||||||
|
ENV PNPM_HOME="/root/.local/share/pnpm/pnpm"
|
||||||
|
RUN 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 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"
|
ENV NODE_OPTIONS="--max_old_space_size=1000"
|
@ -1,4 +1,4 @@
|
|||||||
FROM hosttoday/ht-docker-node:stable as stage1
|
FROM hosttoday/ht-docker-node:latest as stage1
|
||||||
LABEL author="Lossless GmbH <hello@lossless.com>"
|
LABEL author="Lossless GmbH <hello@lossless.com>"
|
||||||
RUN apt-get update && apt-get install -y --no-install-recommends qemu-user-static binfmt-support
|
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
|
# the following lines need to be run on a system that supports both architectures
|
||||||
|
@ -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 pnpm install -g @shipzone/npmci
|
RUN pnpm install -g @shipzone/npmci
|
||||||
|
@ -1,13 +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 agentkeepalive \
|
|
||||||
&& 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
|
|
@ -1,4 +1,4 @@
|
|||||||
FROM hosttoday/ht-docker-node:stable
|
FROM hosttoday/ht-docker-node:latest
|
||||||
# Add Tini
|
# Add Tini
|
||||||
ENV TINI_VERSION v0.19.0
|
ENV TINI_VERSION v0.19.0
|
||||||
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
|
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
|
||||||
|
Loading…
Reference in New Issue
Block a user