Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
94420c3a54 | |||
2a9136ba59 | |||
afa0fed385 | |||
c507405605 | |||
0d9941fb09 | |||
24f7eef3af |
23
Dockerfile
23
Dockerfile
@ -3,6 +3,7 @@ FROM docker:20.10.8
|
|||||||
RUN apk update && apk add --no-cache \
|
RUN apk update && apk add --no-cache \
|
||||||
git \
|
git \
|
||||||
openssl \
|
openssl \
|
||||||
|
openssl-dev \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
bash \
|
bash \
|
||||||
curl \
|
curl \
|
||||||
@ -10,6 +11,7 @@ RUN apk update && apk add --no-cache \
|
|||||||
gcc \
|
gcc \
|
||||||
g++ \
|
g++ \
|
||||||
python3 \
|
python3 \
|
||||||
|
python3-dev \
|
||||||
py3-pip \
|
py3-pip \
|
||||||
linux-headers \
|
linux-headers \
|
||||||
paxctl \
|
paxctl \
|
||||||
@ -19,13 +21,25 @@ RUN apk update && apk add --no-cache \
|
|||||||
nodejs-current \
|
nodejs-current \
|
||||||
npm \
|
npm \
|
||||||
krb5-libs \
|
krb5-libs \
|
||||||
&& update-ca-certificates
|
&& update-ca-certificates \
|
||||||
|
rust \
|
||||||
|
docker-cli \
|
||||||
|
libffi-dev \
|
||||||
|
libc-dev \
|
||||||
|
docker-compose
|
||||||
|
|
||||||
# Add the patch fix
|
# Add the patch fix
|
||||||
COPY ./stack-fix.c /lib/
|
COPY ./stack-fix.c /lib/
|
||||||
|
|
||||||
RUN node -v && npm -v
|
RUN node -v && npm -v
|
||||||
|
|
||||||
|
#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 pnpm -v
|
||||||
|
|
||||||
# Prepare the libraries packages
|
# Prepare the libraries packages
|
||||||
RUN set -ex \
|
RUN set -ex \
|
||||||
&& apk add --no-cache --virtual .build-deps build-base \
|
&& apk add --no-cache --virtual .build-deps build-base \
|
||||||
@ -36,10 +50,3 @@ RUN set -ex \
|
|||||||
ENV LD_PRELOAD /lib/stack-fix.so
|
ENV LD_PRELOAD /lib/stack-fix.so
|
||||||
|
|
||||||
RUN npm config set unsafe-perm true
|
RUN npm config set unsafe-perm true
|
||||||
ENV CRYPTOGRAPHY_DONT_BUILD_RUST=1
|
|
||||||
RUN apk update && \
|
|
||||||
apk add --no-cache docker-cli python3 && \
|
|
||||||
apk add --no-cache --virtual .docker-compose-deps python3-dev libffi-dev openssl-dev gcc libc-dev make && \
|
|
||||||
pip3 install docker-compose && \
|
|
||||||
apk del .docker-compose-deps
|
|
||||||
|
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
FROM hosttoday/ht-docker-dbase:latest
|
FROM hosttoday/ht-docker-dbase:latest
|
||||||
RUN npm install -g @shipzone/npmci
|
RUN pnpm install -g @shipzone/npmci
|
||||||
|
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "ht-docker-dbase",
|
"name": "ht-docker-dbase",
|
||||||
"version": "1.0.80",
|
"version": "1.0.83",
|
||||||
"lockfileVersion": 1
|
"lockfileVersion": 1
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "ht-docker-dbase",
|
"name": "ht-docker-dbase",
|
||||||
"version": "1.0.80",
|
"version": "1.0.83",
|
||||||
"description": "easy CI for docker images",
|
"description": "easy CI for docker images",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"directories": {
|
"directories": {
|
||||||
|
Reference in New Issue
Block a user