Compare commits

..

43 Commits

Author SHA1 Message Date
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
7b79104520 1.0.75 2022-01-28 00:07:13 +01:00
ee8ad96796 1.0.74 2021-02-27 01:35:00 +00:00
15e001b126 fix(core): update 2021-02-27 01:34:59 +00:00
8d6415f5d0 1.0.73 2021-02-27 01:31:56 +00:00
50845053ad fix(core): update 2021-02-27 01:31:55 +00:00
2ff559917d 1.0.72 2021-02-27 01:14:08 +00:00
cf21b33831 fix(core): update 2021-02-27 01:14:08 +00:00
c2a493ae5a 1.0.71 2021-02-27 01:12:35 +00:00
eef4ab8ca3 fix(core): update 2021-02-27 01:12:35 +00:00
01ac9b637d 1.0.70 2021-02-27 01:05:52 +00:00
181d0ff6d7 fix(core): update 2021-02-27 01:05:51 +00:00
0d06199c58 1.0.69 2021-02-27 00:58:20 +00:00
7aa27daebc fix(core): update 2021-02-27 00:58:20 +00:00
6671bdd6a6 1.0.68 2021-02-27 00:52:59 +00:00
36d3466a48 fix(core): update 2021-02-27 00:52:58 +00:00
62b9a1574d 1.0.67 2021-02-27 00:47:34 +00:00
617c9f993f fix(core): update 2021-02-27 00:47:34 +00:00
6f91132d22 1.0.66 2021-02-27 00:40:24 +00:00
e4d88c1732 fix(core): update 2021-02-27 00:40:24 +00:00
7 changed files with 92 additions and 30 deletions

View File

@ -1,13 +1,13 @@
# gitzone custom # gitzone custom
image: docker:19.03.1 image: docker:20.10.8
services: services:
- docker:stable-dind - docker:stable-dind
before_script: before_script:
- apk update - apk update
- apk add --no-cache git openssl ca-certificates bash curl - 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 make gcc g++ python3 py3-pip linux-headers paxctl
- apk add --no-cache libgcc libstdc++ gnupg nodejs-current nodejs-npm - apk add --no-cache libgcc libstdc++ gnupg nodejs-current npm
- update-ca-certificates - update-ca-certificates
- cp ./stack-fix.c /lib/ - cp ./stack-fix.c /lib/
- set -ex - 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 \ RUN apk update && apk add --no-cache \
git \ git \
openssl \ openssl \
openssl-dev \
ca-certificates \ ca-certificates \
bash \ bash \
curl \ curl \
make \ make \
gcc \ gcc \
g++ \ g++ \
python \ python3 \
python3-dev \
py3-pip \
linux-headers \ linux-headers \
paxctl \ paxctl \
libgcc \ libgcc \
libstdc++ \ libstdc++ \
gnupg \ gnupg \
nodejs-current \ nodejs-current \
nodejs-npm \ npm \
krb5-libs \ 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 # Add the patch fix
COPY ./stack-fix.c /lib/ 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 # 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 \
@ -32,6 +55,4 @@ RUN set -ex \
# export the environment variable of LD_PRELOAD # export the environment variable of LD_PRELOAD
ENV LD_PRELOAD /lib/stack-fix.so ENV LD_PRELOAD /lib/stack-fix.so
RUN npm config set unsafe-perm true RUN pnpm config set unsafe-perm true
RUN apk add --update py-pip3 && pip3 install docker-compose

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 pnpm config set unsafe-perm true

View File

@ -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
View File

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

View File

@ -1,6 +1,6 @@
{ {
"name": "ht-docker-dbase", "name": "ht-docker-dbase",
"version": "1.0.65", "version": "1.0.87",
"description": "easy CI for docker images", "description": "easy CI for docker images",
"main": "index.js", "main": "index.js",
"directories": { "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"
}