Skip to content

Commit

Permalink
v1
Browse files Browse the repository at this point in the history
  • Loading branch information
bs893 committed Feb 15, 2021
1 parent 344baeb commit 210db2e
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,29 @@ RUN apk add --update \
&& mkdir -p /usr/src/
WORKDIR /usr/src/

RUN git clone https://github.com/protocolbuffers/protobuf.git
RUN git clone -b 'master' --single-branch --depth 1 https://github.com/protocolbuffers/protobuf.git
WORKDIR /usr/src/protobuf
RUN /usr/src/protobuf/autogen.sh \
&& ./configure \
&& make \
&& make install
WORKDIR /usr/src/

RUN git clone https://github.com/Ultimaker/libArcus.git
RUN git clone -b 'master' --single-branch --depth 1 https://github.com/Ultimaker/libArcus.git
WORKDIR /usr/src/libArcus
RUN mkdir build && cd build \
&& cmake /usr/src/libArcus \
&& make \
&& make install
WORKDIR /usr/src/

RUN git clone https://github.com/Ultimaker/CuraEngine.git
RUN git clone -b 'master' --single-branch --depth 1 https://github.com/Ultimaker/Cura.git \
&& mkdir /usr/definitions \
&& cp /usr/src/Cura/resources/definitions/* /usr/definitions \
&& cp /usr/src/Cura/resources/extruders/* /usr/definitions \
&& cp /usr/src/Cura/resources/quality/creality/base/* /usr/definitions

RUN git clone -b 'master' --single-branch --depth 1 https://github.com/Ultimaker/CuraEngine.git
WORKDIR /usr/src/CuraEngine
RUN ls /usr/lib/libArcus.so.3
RUN git checkout -b origin/master \
Expand Down

0 comments on commit 210db2e

Please sign in to comment.