Commit 11c15785 authored by Zivi's avatar Zivi
Browse files

changed to new base image

parents 528b0123 06d64403
Pipeline #3482 passed with stage
in 1 minute and 16 seconds
......@@ -7,7 +7,7 @@ variables:
DOCKER_TLS_CERTDIR: ""
services:
- docker:19.03.1-dind
- docker:dind
before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
......
FROM node:10-slim
# add basic libs
RUN apt-get update && apt-get install -y \
bash \
g++ \
gcc \
ca-certificates \
make \
python \
bash \
git
# Create app directory
RUN mkdir -p /usr/local/app
# Move to the app directory
WORKDIR /usr/local/app
FROM source.dodis.ch:4577/histhub/node-kafka-docker-base:latest
# copy app to the container
COPY package.json package-lock.json config.json tsconfig.json /usr/local/app/
......
......@@ -16,9 +16,7 @@
"license": "ISC",
"dependencies": {
"@types/express": "^4.16.0",
"@types/node": "^9.6.21",
"@types/superagent": "^3.8.0",
"@types/winston": "^2.3.9",
"boom": "^7.3.0",
"concurrently": "^3.5.1",
"cors": "^2.8.4",
......@@ -32,9 +30,7 @@
"node-cache": "^4.2.0",
"sha.js": "^2.4.11",
"source-map-support": "^0.5.6",
"supertest": "^3.1.0",
"typescript": "^2.8.3",
"winston": "^2.4.2"
"supertest": "^3.1.0"
},
"devDependencies": {
"@types/boom": "^7.2.1",
......
......@@ -52,6 +52,8 @@ export class ResponseCollector {
// should always be the same
this.finalData.id = data.id;
// find key and add data
console.log('config ' + this.config);
console.log('name' + data.name);
if(this.config.indexOf(data.name) > -1){
// check if array
if(Array.isArray(data.data.links)) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment