Skip to content

Commit 0584067

Browse files
committed
Docker copy tuttle source code
Since Dockerfiles are wrapped into folders, the docker build command is: [rootTuttle]$ docker build -f tools/docker/pythonX.Y/Dockerfile . We cannot copy from parent folder context (COPY ../)
1 parent d097949 commit 0584067

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tools/docker/python2.7/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ ENV PYTHON_VERSION=2.7 \
5959

6060
RUN mkdir ${TUTTLEOFX_BUILD} ${TRAVIS_BUILD_DIR}
6161

62-
RUN git clone https://github.com/tuttleofx/TuttleOFX.git ${TUTTLEOFX_DEV}
62+
COPY . ${TUTTLEOFX_DEV}
6363
RUN cd ${TUTTLEOFX_DEV} && git submodule update --init --recursive
6464
RUN cd ${TUTTLEOFX_DEV} && ${TUTTLEOFX_DEV}/tools/travis/install_dependencies.sh
6565
RUN cd ${TUTTLEOFX_DEV} && ${TUTTLEOFX_DEV}/tools/travis/build.sh

tools/docker/python3.5/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ ENV PYTHON_VERSION=3.5 \
5858

5959
RUN mkdir ${TUTTLEOFX_BUILD} ${TRAVIS_BUILD_DIR}
6060

61-
RUN git clone https://github.com/tuttleofx/TuttleOFX.git ${TUTTLEOFX_DEV}
61+
COPY . ${TUTTLEOFX_DEV}
6262
RUN cd ${TUTTLEOFX_DEV} && git submodule update --init --recursive
6363
RUN cd ${TUTTLEOFX_DEV} && ${TUTTLEOFX_DEV}/tools/travis/install_dependencies.sh
6464
RUN cd ${TUTTLEOFX_DEV} && ${TUTTLEOFX_DEV}/tools/travis/build.sh

0 commit comments

Comments
 (0)