Some fixes in Dockerfile

This commit is contained in:
ChrisTerBeke 2018-03-01 11:52:09 +01:00
parent 2b0211a45f
commit a8bf44003f

View File

@ -23,19 +23,16 @@ RUN make install
ENV URANIUM_BRANCH=master
WORKDIR $CURA_APP_DIR
RUN git clone -b $URANIUM_BRANCH --depth 1 https://github.com/Ultimaker/Uranium
WORKDIR $CURA_APP_DIR/Uranium
# Setup materials
ENV MATERIALS_BRANCH=master
WORKDIR $CURA_APP_DIR/Cura/resources
RUN git clone -b $MATERIALS_BRANCH --depth 1 https://github.com/Ultimaker/fdm_materials materials
WORKDIR $CURA_APP_DIR/Cura/resources/materials
# Setup Cura
ENV CURA_BRANCH=docker
WORKDIR $CURA_APP_DIR
RUN git clone -b $CURA_BRANCH --depth 1 https://github.com/Ultimaker/Cura
WORKDIR $CURA_APP_DIR/Cura
# Setup materials
ENV MATERIALS_BRANCH=master
WORKDIR $CURA_APP_DIR/Cura/resources
RUN git clone -b $MATERIALS_BRANCH --depth 1 https://github.com/Ultimaker/fdm_materials materials
# Make sure Cura can find CuraEngine
RUN ln -s /usr/local/bin/CuraEngine $CURA_APP_DIR/Cura