Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
09911328b2 | |||
548e32419e | |||
2b2b06b48b | |||
37028a9b1f | |||
3cba5844d8 | |||
a3ceb68eab |
@ -1,4 +1,4 @@
|
|||||||
image: hosttoday/ht-docker-dbase
|
image: hosttoday/ht-docker-dbase:npmts
|
||||||
services:
|
services:
|
||||||
- docker:dind
|
- docker:dind
|
||||||
|
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
FROM hosttoday/ht-docker-node:npmts
|
|
||||||
RUN mkdir app-node
|
|
||||||
COPY ./ /app-node/
|
|
||||||
WORKDIR /app-node
|
|
||||||
ENV CI true
|
|
||||||
CMD ["npmts"]
|
|
@ -1,5 +1,5 @@
|
|||||||
# dockersock
|
# dockersock
|
||||||
easy communication with docker from node, TypeScript ready
|
easy communication with docker remote api from node, TypeScript ready
|
||||||
|
|
||||||
## Status
|
## Status
|
||||||
[](https://gitlab.com/pushrocks/dockersock/commits/master)
|
[](https://gitlab.com/pushrocks/dockersock/commits/master)
|
||||||
|
@ -2,5 +2,10 @@
|
|||||||
"npmts":{
|
"npmts":{
|
||||||
"mode":"default",
|
"mode":"default",
|
||||||
"coverageTreshold":10
|
"coverageTreshold":10
|
||||||
|
},
|
||||||
|
"npmdocker":{
|
||||||
|
"baseImage":"hosttoday/ht-docker-node:npmts",
|
||||||
|
"command":"npmts",
|
||||||
|
"dockerSock":"true"
|
||||||
}
|
}
|
||||||
}
|
}
|
12
package.json
12
package.json
@ -1,14 +1,11 @@
|
|||||||
{
|
{
|
||||||
"name": "dockersock",
|
"name": "dockersock",
|
||||||
"version": "1.0.14",
|
"version": "1.0.15",
|
||||||
"description": "easy communication with docker from node, TypeScript ready",
|
"description": "easy communication with docker remote api from node, TypeScript ready",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"typings": "dist/index.d.ts",
|
"typings": "dist/index.d.ts",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "npmts --notest && npm run build && npm run startdocker && npm run cleanup",
|
"test": "npmdocker"
|
||||||
"build": "docker build -t npmts-test-image .",
|
|
||||||
"startdocker": "docker run -v /var/run/docker.sock:/var/run/docker.sock --name npmts-test-container npmts-test-image",
|
|
||||||
"cleanup": "docker rm npmts-test-container && docker rmi npmts-test-image"
|
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@ -28,7 +25,8 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://gitlab.com/pushrocks/dockersock#README",
|
"homepage": "https://gitlab.com/pushrocks/dockersock#README",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/q": "*",
|
"@types/q": "^0.0.27",
|
||||||
|
"@types/request": "^0.0.27",
|
||||||
"beautylog": "^5.0.14",
|
"beautylog": "^5.0.14",
|
||||||
"q": "^1.4.1",
|
"q": "^1.4.1",
|
||||||
"request": "^2.73.0",
|
"request": "^2.73.0",
|
||||||
|
Reference in New Issue
Block a user