You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: nodethon/README.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
Builds and pushes a docker environment useful for testing and building Node.js applications that also use Python or Python applications that also use Node.js. This environment contains Node.js and a few other, essential JavaScript dependencies as well as series of python versions allowing multi-version tox testing locally and in CI services.
4
4
5
-
All nodethon images include the ["sonarqube"](https://www.sonarqube.org) scanner. This scanner allows node and tox builds to upload coverage and analysis reports to a sonarqube instance.
5
+
All *nodethon* images include the ["sonarqube"](https://www.sonarqube.org) scanner. This scanner allows node and tox builds to upload coverage and analysis reports to a sonarqube instance.
6
6
7
7
## Build and Push
8
8
@@ -19,23 +19,23 @@ nodethon latest d7ab132649d6
19
19
```
20
20
```
21
21
# We use the range of python environments supported as the version tag.
22
-
docker tag d7ab132649d6 uavcan/nodethon:py35-py38-node13-sq
22
+
docker tag d7ab132649d6 uavcan/nodethon:node13-py37-py38
23
23
docker login --username=yourhubusername
24
-
docker push uavcan/nodethon:py35-py38-node13-sq
24
+
docker push uavcan/nodethon:node13-py37-py38
25
25
```
26
26
27
27
## Testing out the container
28
28
29
29
Start an interactive session:
30
30
31
31
```bash
32
-
docker run --rm -it -v ${PWD}:/repo uavcan/nodethon:py35-py38-node13-sq
32
+
docker run --rm -it -v ${PWD}:/repo uavcan/nodethon:node13-py37-py38
33
33
```
34
34
35
35
On MacOS you'll probably want to optimize `osxfs` with something like cached or delegated:
36
36
37
37
```bash
38
-
docker run --rm -it -v ${PWD}:/repo:delegated uavcan/nodethon:py35-py38-node13-sq
38
+
docker run --rm -it -v ${PWD}:/repo:delegated uavcan/nodethon:node13-py37-py38
39
39
```
40
40
41
41
See ["Performance tuning for volume mounts"](https://docs.docker.com/docker-for-mac/osxfs-caching/) for details.
@@ -49,10 +49,10 @@ services:
49
49
- docker
50
50
51
51
before_install:
52
-
- docker pull uavcan/nodethon:py35-py38-node13-sq
52
+
- docker pull uavcan/nodethon:node13-py37-py38
53
53
54
54
script:
55
-
- docker run --rm -v $TRAVIS_BUILD_DIR:/repo uavcan/nodethon:py35-py38-node13-sq /bin/sh -c tox
55
+
- docker run --rm -v $TRAVIS_BUILD_DIR:/repo uavcan/nodethon:node13-py37-py38 /bin/sh -c tox
0 commit comments