Compare commits

...

26 Commits

Author SHA1 Message Date
844d238162 1.0.88 2023-06-25 13:11:37 +02:00
783077d851 fix(core): update 2023-06-25 13:11:36 +02:00
9512e4b2f4 1.0.87 2023-06-25 13:07:15 +02:00
c7ecee7a30 fix(core): update 2023-06-25 13:07:15 +02:00
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
afa0fed385 1.0.82 2022-01-28 00:52:07 +01:00
c507405605 fix(core): update 2022-01-28 00:52:07 +01:00
0d9941fb09 1.0.81 2022-01-28 00:38:46 +01:00
24f7eef3af fix(core): update 2022-01-28 00:38:45 +01:00
c719f6a14b 1.0.80 2022-01-28 00:27:19 +01:00
03a3ecdf7b fix(core): update 2022-01-28 00:27:19 +01:00
4b8cbc0fba 1.0.79 2022-01-28 00:23:57 +01:00
1f0c39da64 fix(core): update 2022-01-28 00:23:57 +01:00
4e426e7bf7 1.0.78 2022-01-28 00:22:12 +01:00
bbd13b879f fix(core): update 2022-01-28 00:22:11 +01:00
1f12882f03 1.0.77 2022-01-28 00:21:21 +01:00
e4aed1d051 fix(core): update 2022-01-28 00:21:20 +01:00
3bba9c114b 1.0.76 2022-01-28 00:16:52 +01:00
ee1769f6aa fix(core): update 2022-01-28 00:16:52 +01:00
7 changed files with 92 additions and 35 deletions

View File

@ -1,13 +1,13 @@
# gitzone custom
image: docker:19.03.1
image: docker:20.10.8
services:
- docker:stable-dind
before_script:
- apk update
- apk add --no-cache git openssl ca-certificates bash curl
- apk add --no-cache make gcc g++ python linux-headers paxctl
- apk add --no-cache libgcc libstdc++ gnupg nodejs-current nodejs-npm
- apk add --no-cache make gcc g++ python3 py3-pip linux-headers paxctl
- apk add --no-cache libgcc libstdc++ gnupg nodejs-current npm
- update-ca-certificates
- cp ./stack-fix.c /lib/
- set -ex

View File

@ -1,28 +1,51 @@
FROM docker:19.03.1
FROM docker:20.10.8
RUN apk update && apk add --no-cache \
git \
openssl \
openssl-dev \
ca-certificates \
bash \
curl \
make \
gcc \
g++ \
python \
python3 \
python3-dev \
py3-pip \
linux-headers \
paxctl \
libgcc \
libstdc++ \
gnupg \
nodejs-current \
nodejs-npm \
npm \
krb5-libs \
&& update-ca-certificates
&& 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 \
@ -32,11 +55,4 @@ RUN set -ex \
# export the environment variable of LD_PRELOAD
ENV LD_PRELOAD /lib/stack-fix.so
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
RUN pnpm config set unsafe-perm true

58
Dockerfile_dind Normal file
View File

@ -0,0 +1,58 @@
FROM docker: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 pnpm 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.75",
"version": "1.0.88",
"lockfileVersion": 1
}

View File

@ -1,6 +1,6 @@
{
"name": "ht-docker-dbase",
"version": "1.0.75",
"version": "1.0.88",
"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"
}