mirror of
https://github.com/gryf/coach.git
synced 2026-01-25 16:55:50 +01:00
create per environment Dockerfiles. (#70)
* create per environment Dockerfiles. Adjust CI setup to better parallelize runs. Fix a couple of issues in golden and trace tests. Update a few of the docs. * bugfix in mmc agent. Also install kubectl for CI, update badge branch. * remove integration test parallelism.
This commit is contained in:
20
docker/Dockerfile.doom_environment
Normal file
20
docker/Dockerfile.doom_environment
Normal file
@@ -0,0 +1,20 @@
|
||||
FROM coach-base:master as builder
|
||||
|
||||
# prep vizdoom and any of its related requirements.
|
||||
RUN pip3 install vizdoom
|
||||
|
||||
# add coach source starting with files that could trigger
|
||||
# re-build if dependencies change.
|
||||
RUN mkdir /root/src
|
||||
COPY setup.py /root/src/.
|
||||
COPY requirements.txt /root/src/.
|
||||
RUN pip3 install -r /root/src/requirements.txt
|
||||
|
||||
FROM coach-base:master
|
||||
WORKDIR /root/src
|
||||
COPY --from=builder /root/.cache /root/.cache
|
||||
COPY setup.py /root/src/.
|
||||
COPY requirements.txt /root/src/.
|
||||
COPY README.md /root/src/.
|
||||
RUN pip3 install vizdoom && pip3 install -e .[all] && rm -rf /root/.cache
|
||||
COPY . /root/src
|
||||
Reference in New Issue
Block a user