Compare commits

...

8 Commits

Author SHA1 Message Date
344430615f 1.0.86 2023-06-25 13:00:06 +02:00
7dd21337ab fix(core): update 2023-06-25 13:00:05 +02:00
e2182a3f3e 1.0.85 2023-06-25 12:55:32 +02:00
73dd4c34e7 fix(core): update 2023-06-25 12:55:31 +02:00
28e99c1420 1.0.84 2022-10-17 12:18:06 +02:00
e999577bad fix(core): update 2022-10-17 12:18:05 +02:00
94420c3a54 1.0.83 2022-10-17 11:52:12 +02:00
2a9136ba59 fix(core): update 2022-10-17 11:52:12 +02:00
6 changed files with 74 additions and 20 deletions

View File

@ -28,11 +28,24 @@ RUN apk update && apk add --no-cache \
libc-dev \
docker-compose
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
# Add the patch fix
COPY ./stack-fix.c /lib/
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
RUN set -ex \
&& apk add --no-cache --virtual .build-deps build-base \

58
Dockerfile_dind Normal file
View File

@ -0,0 +1,58 @@
FROM docker:20-dind
RUN apk update && apk add --no-cache \
git \
openssl \
openssl-dev \
ca-certificates \
bash \
curl \
make \
gcc \
g++ \
python3 \
python3-dev \
py3-pip \
linux-headers \
paxctl \
libgcc \
libstdc++ \
gnupg \
nodejs-current \
npm \
krb5-libs \
&& update-ca-certificates \
rust \
docker-cli \
libffi-dev \
libc-dev \
docker-compose
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
# Add the patch fix
COPY ./stack-fix.c /lib/
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
RUN set -ex \
&& apk add --no-cache --virtual .build-deps build-base \
&& gcc -shared -fPIC /lib/stack-fix.c -o /lib/stack-fix.so \
&& apk del .build-deps
# export the environment variable of LD_PRELOAD
ENV LD_PRELOAD /lib/stack-fix.so
RUN npm config set unsafe-perm true

View File

@ -1,2 +1,2 @@
FROM hosttoday/ht-docker-dbase:latest
RUN npm install -g @shipzone/npmci
RUN pnpm install -g @shipzone/npmci

2
package-lock.json generated
View File

@ -1,5 +1,5 @@
{
"name": "ht-docker-dbase",
"version": "1.0.82",
"version": "1.0.86",
"lockfileVersion": 1
}

View File

@ -1,6 +1,6 @@
{
"name": "ht-docker-dbase",
"version": "1.0.82",
"version": "1.0.86",
"description": "easy CI for docker images",
"main": "index.js",
"directories": {

View File

@ -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"
}