mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 11:17:49 -06:00
Some fixes in Dockerfile
This commit is contained in:
parent
2b0211a45f
commit
a8bf44003f
1 changed files with 5 additions and 8 deletions
13
Dockerfile
13
Dockerfile
|
@ -23,19 +23,16 @@ RUN make install
|
||||||
ENV URANIUM_BRANCH=master
|
ENV URANIUM_BRANCH=master
|
||||||
WORKDIR $CURA_APP_DIR
|
WORKDIR $CURA_APP_DIR
|
||||||
RUN git clone -b $URANIUM_BRANCH --depth 1 https://github.com/Ultimaker/Uranium
|
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
|
# Setup Cura
|
||||||
ENV CURA_BRANCH=docker
|
ENV CURA_BRANCH=docker
|
||||||
WORKDIR $CURA_APP_DIR
|
WORKDIR $CURA_APP_DIR
|
||||||
RUN git clone -b $CURA_BRANCH --depth 1 https://github.com/Ultimaker/Cura
|
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
|
# Make sure Cura can find CuraEngine
|
||||||
RUN ln -s /usr/local/bin/CuraEngine $CURA_APP_DIR/Cura
|
RUN ln -s /usr/local/bin/CuraEngine $CURA_APP_DIR/Cura
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue