Add Dockerfile for running test - #1736
Conversation
|
I'm checking the |
|
Also I'm not sure about |
|
I'll test the changes you asked about. |
|
apt-get seems to install an old python-psutil: https://buildbot.bitmessage.org/#/builders/22/builds/6/steps/7/logs/stdio |
|
Maybe use useradd, not adduser? It produces this: |
| RUN chmod +x /usr/local/bin/travis2bash.sh | ||
|
|
||
| COPY . /home/builder/src | ||
| RUN chown -R builder.builder /home/builder/src |
There was a problem hiding this comment.
Strange. man chown says chown [OPTION]... [OWNER][:[GROUP]] FILE...
There was a problem hiding this comment.
I think OWNER.GROUP is a GNU non-POSIX feature, maybe it doesn't work on BSD, I've been using it on linux since the '90s. But I can change it, no big deal.
|
I can add some conditional for skipping redundancies, I can't just remove them because in some jobs / situations they are needed, the same |
e5ac39d to
87ee439
Compare
|
- run ./run-tests-in-docker.sh to run travis tests locally
87ee439 to
574b60e
Compare
./run-tests-in-docker.shto run travis tests locally