Compare commits
29 Commits
Author | SHA1 | Date | |
---|---|---|---|
c4ac975bae | |||
7189d01599 | |||
8687ad4816 | |||
88e1a637ce | |||
e0fa2b14b7 | |||
5dccdbb9e9 | |||
e3e2f86ac5 | |||
5fe8f04159 | |||
e3b2144182 | |||
6c255d39f1 | |||
259195d267 | |||
3395159064 | |||
7ce81d1a7c | |||
96c116b0b5 | |||
b8a643d174 | |||
a8f42b0ac3 | |||
09470996d4 | |||
8378ffb419 | |||
01dc4c19a8 | |||
32eccccf22 | |||
0188f92f4b | |||
f00c0dd88d | |||
62d1938c89 | |||
7021f177f6 | |||
944190eedc | |||
ad3e4ad739 | |||
711e71709a | |||
cebd14e338 | |||
8968bb5450 |
@ -8,12 +8,11 @@ before_script:
|
|||||||
- 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++ python linux-headers paxctl
|
||||||
- apk add --no-cache libgcc libstdc++ gnupg nodejs nodejs-npm
|
- apk add --no-cache libgcc libstdc++ gnupg nodejs nodejs-npm
|
||||||
- apk add --no-cache krb5-libs
|
|
||||||
- update-ca-certificates
|
- update-ca-certificates
|
||||||
- cp ./stack-fix.c /lib/
|
- cp ./stack-fix.c /lib/
|
||||||
- set -ex
|
- set -ex
|
||||||
- apk add --no-cache --virtual .build-deps build-base
|
- apk add --no-cache --virtual .build-deps build-base
|
||||||
- gcc -shared -fPIC /lib/stack-fix.c -o /lib/stack-fix.so \
|
- gcc -shared -fPIC /lib/stack-fix.c -o /lib/stack-fix.so
|
||||||
- apk del .build-deps
|
- apk del .build-deps
|
||||||
- export LD_PRELOAD="/lib/stack-fix.so"
|
- export LD_PRELOAD="/lib/stack-fix.so"
|
||||||
- npm config set unsafe-perm true
|
- npm config set unsafe-perm true
|
||||||
@ -21,22 +20,8 @@ before_script:
|
|||||||
- npmci npm prepare
|
- npmci npm prepare
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- test
|
|
||||||
- release
|
- release
|
||||||
- trigger
|
- 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:
|
release:
|
||||||
stage: release
|
stage: release
|
||||||
|
13
Dockerfile
13
Dockerfile
@ -17,6 +17,19 @@ RUN apk update && apk add --no-cache \
|
|||||||
gnupg \
|
gnupg \
|
||||||
nodejs \
|
nodejs \
|
||||||
nodejs-npm \
|
nodejs-npm \
|
||||||
|
krb5-libs \
|
||||||
&& update-ca-certificates
|
&& update-ca-certificates
|
||||||
|
|
||||||
|
# Add the patch fix
|
||||||
|
COPY ./stack-fix.c /lib/
|
||||||
|
|
||||||
|
# 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
|
RUN npm config set unsafe-perm true
|
||||||
|
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.33",
|
"version": "1.0.49",
|
||||||
"lockfileVersion": 1
|
"lockfileVersion": 1
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "ht-docker-dbase",
|
"name": "ht-docker-dbase",
|
||||||
"version": "1.0.33",
|
"version": "1.0.49",
|
||||||
"description": "easy CI for docker images",
|
"description": "easy CI for docker images",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"directories": {
|
"directories": {
|
||||||
|
@ -1,3 +1,2 @@
|
|||||||
yarn --version
|
|
||||||
npm --version
|
npm --version
|
||||||
node --version
|
node --version
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
node -v
|
node -v
|
||||||
npm -v
|
npm -v
|
||||||
yarn --version
|
npm init --yes
|
||||||
npmci -v
|
npmci -v
|
||||||
git clone https://gitlab.com/sandboxzone/sandbox-npmts.git
|
|
Reference in New Issue
Block a user