Merge pull request #526 from pierotofy/core2-fix

Updated core2.dockerfile

Former-commit-id: d9e71a1cde
pull/1161/head
Dakota Benjamin 2017-03-30 14:29:00 -04:00 zatwierdzone przez GitHub
commit 9d70b4603f
2 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -21,6 +21,7 @@ COPY /SuperBuild/cmake/ /code/SuperBuild/cmake/
COPY /SuperBuild/CMakeLists.txt /code/SuperBuild/CMakeLists.txt
COPY docker.settings.yaml /code/settings.yaml
COPY /tests/ /code/tests/
COPY VERSION /code/VERSION
# Update submodules
RUN git submodule init && git submodule update

Wyświetl plik

@ -19,7 +19,9 @@ COPY run.py /code/run.py
COPY /scripts/ /code/scripts/
COPY /SuperBuild/cmake/ /code/SuperBuild/cmake/
COPY /SuperBuild/CMakeLists.txt /code/SuperBuild/CMakeLists.txt
COPY docker.settings.yaml /code/settings.yaml
COPY /tests/ /code/tests/
COPY VERSION /code/VERSION
# Update submodules
RUN git submodule init && git submodule update
@ -33,4 +35,4 @@ RUN cd SuperBuild && mkdir build && cd build && cmake .. && make -j$(nproc) \
&& cd ../.. && mkdir build && cd build && cmake .. && make -j$(nproc)
# Entry point
ENTRYPOINT ["python", "/code/run.py", "--project-path", "/code/"]
ENTRYPOINT ["python", "/code/run.py", "code"]