Compare commits

...

100 Commits

Author SHA1 Message Date
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
f5cc4d4339 1.0.65 2021-02-27 00:36:58 +00:00
665c7aaada fix(core): update 2021-02-27 00:36:58 +00:00
a47ab357f7 1.0.64 2021-02-27 00:32:19 +00:00
a8a72799b5 fix(core): update 2021-02-27 00:32:18 +00:00
f1a516dfb5 1.0.63 2021-02-27 00:13:01 +00:00
60afae8582 fix(core): update 2021-02-27 00:13:01 +00:00
e8ad105aed 1.0.62 2021-02-27 00:11:40 +00:00
65cdb2c53a fix(core): update 2021-02-27 00:11:39 +00:00
05fd503a20 1.0.61 2021-02-27 00:06:48 +00:00
29e987c20e fix(core): update 2021-02-27 00:06:48 +00:00
1fee89324c 1.0.60 2021-02-27 00:05:29 +00:00
abf5c60429 fix(core): update 2021-02-27 00:05:28 +00:00
90a0574d10 1.0.59 2021-02-26 23:51:54 +00:00
046862d402 fix(core): update 2021-02-26 23:51:53 +00:00
4d578e69d5 1.0.58 2021-02-26 23:50:39 +00:00
b68d149ac4 fix(core): update 2021-02-26 23:50:39 +00:00
a907fbb334 1.0.57 2021-02-26 23:49:18 +00:00
25c7a6dc49 fix(core): update 2021-02-26 23:49:18 +00:00
0c3ce8b6d7 1.0.56 2021-02-26 23:41:52 +00:00
fccaeeb47c fix(core): update 2021-02-26 23:41:51 +00:00
d806a0db1d 1.0.55 2021-02-26 23:40:13 +00:00
bdffd6452c fix(core): update 2021-02-26 23:40:13 +00:00
1248416ed9 1.0.54 2021-02-26 23:39:24 +00:00
9651c1a889 fix(core): update 2021-02-26 23:39:23 +00:00
f6809ac84a 1.0.53 2021-02-26 23:35:45 +00:00
c61c4499a4 fix(core): update 2021-02-26 23:35:44 +00:00
f23c44906c 1.0.52 2021-02-26 23:25:49 +00:00
39b54a483f fix(core): update 2021-02-26 23:25:49 +00:00
ea2c39ef97 1.0.51 2021-02-26 23:21:24 +00:00
8305d05c54 fix(core): update 2021-02-26 23:21:24 +00:00
5599f9f86c 1.0.50 2021-02-26 23:18:52 +00:00
c4ac975bae 1.0.49 2019-11-26 17:50:50 +00:00
7189d01599 1.0.48 2019-11-24 13:57:38 +00:00
8687ad4816 1.0.47 2019-11-24 13:53:01 +00:00
88e1a637ce 1.0.46 2019-11-24 13:49:48 +00:00
e0fa2b14b7 rename readme 2019-11-24 13:48:56 +00:00
5dccdbb9e9 rename readme 2019-11-24 13:48:52 +00:00
e3e2f86ac5 1.0.45 2019-11-24 13:46:38 +00:00
5fe8f04159 fix(core): update 2019-11-24 13:46:38 +00:00
e3b2144182 1.0.44 2019-11-24 13:43:09 +00:00
6c255d39f1 1.0.43 2019-11-23 22:28:31 +00:00
259195d267 fix(core): update 2019-11-23 22:28:31 +00:00
3395159064 1.0.42 2019-11-23 22:22:06 +00:00
7ce81d1a7c fix(core): update 2019-11-23 22:22:05 +00:00
96c116b0b5 1.0.41 2019-11-23 22:12:25 +00:00
b8a643d174 fix(core): update 2019-11-23 22:12:25 +00:00
a8f42b0ac3 1.0.40 2019-11-23 22:09:17 +00:00
09470996d4 fix(core): update 2019-11-23 22:09:16 +00:00
8378ffb419 1.0.39 2019-11-23 22:03:13 +00:00
01dc4c19a8 fix(core): update 2019-11-23 22:03:12 +00:00
32eccccf22 1.0.38 2019-11-23 21:58:51 +00:00
0188f92f4b fix(core): update 2019-11-23 21:58:51 +00:00
f00c0dd88d 1.0.37 2019-11-23 21:58:14 +00:00
62d1938c89 fix(core): update 2019-11-23 21:58:13 +00:00
7021f177f6 1.0.36 2019-11-23 21:53:19 +00:00
944190eedc fix(core): update 2019-11-23 21:53:18 +00:00
ad3e4ad739 1.0.35 2019-11-23 21:47:03 +00:00
711e71709a fix(core): update 2019-11-23 21:47:03 +00:00
cebd14e338 1.0.34 2019-11-23 21:36:49 +00:00
8968bb5450 fix(core): update 2019-11-23 21:36:48 +00:00
726c32f5ea 1.0.33 2019-11-23 21:35:33 +00:00
ab23734e25 fix(core): update 2019-11-23 21:35:32 +00:00
9137d51267 1.0.32 2019-11-23 21:34:08 +00:00
a6bc8055f1 fix(core): update 2019-11-23 21:34:07 +00:00
4ff525cf64 1.0.31 2019-11-23 21:32:41 +00:00
272a82e06a fix(core): update 2019-11-23 21:32:41 +00:00
8a70aa4c49 1.0.30 2019-11-23 21:29:08 +00:00
e95c68243f fix(core): update 2019-11-23 21:29:08 +00:00
102747d49d 1.0.29 2019-11-23 19:49:24 +00:00
909fb5bc1f 1.0.28 2019-10-04 15:24:41 +02:00
a771587de6 1.0.27 2019-10-02 23:56:55 +02:00
20eb639907 1.0.26 2019-10-02 23:40:35 +02:00
3caa5a6694 1.0.25 2019-10-02 12:02:58 +02:00
d92cfa0988 1.0.24 2019-10-02 11:41:49 +02:00
6b74db9326 1.0.23 2019-10-02 11:41:35 +02:00
874740924d 1.0.22 2019-09-01 15:16:12 +02:00
038867c450 1.0.21 2019-09-01 13:59:36 +02:00
8 changed files with 68 additions and 23 deletions

View File

@ -7,29 +7,22 @@ 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 nodejs-npm
- apk add --no-cache libgcc libstdc++ gnupg nodejs-current nodejs-npm
- update-ca-certificates
- cp ./stack-fix.c /lib/
- 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 LD_PRELOAD="/lib/stack-fix.so"
- npm config set unsafe-perm true
- node -v && npm -v
- npm install -g @shipzone/npmci
- npmci npm prepare
stages:
- test
- release
- trigger
- pages
testSTABLE:
stage: test
script:
- npmci node install stable
- npmci npm install
- npmci npm test
coverage: /\d+.?\d+?\%\s*coverage/
tags:
- docker
- lossless
- priv
release:
stage: release

View File

@ -1,4 +1,4 @@
FROM docker:19.03.1
FROM docker:20.10.8
RUN apk update && apk add --no-cache \
git \
@ -15,8 +15,30 @@ RUN apk update && apk add --no-cache \
libgcc \
libstdc++ \
gnupg \
nodejs \
nodejs-npm \
nodejs-current \
npm \
krb5-libs \
&& update-ca-certificates
# Add the patch fix
COPY ./stack-fix.c /lib/
RUN node -v && npm -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
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

2
package-lock.json generated
View File

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

View File

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

32
stack-fix.c Normal file
View File

@ -0,0 +1,32 @@
#include <dlfcn.h>
#include <pthread.h>
#include <stdio.h>
// THIS IS TO AVOID A SIGFAULT WHEN RUNNING python3.6 manage.py runserver
// This should be fixed at some point by Alpine and/or Python
// Check this issue for more info
// https://github.com/docker-library/python/issues/211
typedef int (*func_t)(pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine)(void*), void *arg);
int pthread_create(pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine)(void*), void *arg) {
pthread_attr_t local;
int used = 0, ret;
if (!attr) {
used = 1;
pthread_attr_init(&local);
attr = &local;
}
pthread_attr_setstacksize((void*)attr, 2 * 1024 * 1024); // 2 MB
func_t orig = (func_t)dlsym(RTLD_NEXT, "pthread_create");
ret = orig(thread, attr, start_routine, arg);
if (used) {
pthread_attr_destroy(&local);
}
return ret;
}

View File

@ -1,3 +1,2 @@
yarn --version
npm --version
node --version

View File

@ -1,5 +1,4 @@
node -v
npm -v
yarn --version
npm init --yes
npmci -v
git clone https://gitlab.com/sandboxzone/sandbox-npmts.git