Skip to content

Commit

Permalink
v1
Browse files Browse the repository at this point in the history
  • Loading branch information
bs893 committed Feb 12, 2021
0 parents commit 2b8a079
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
FROM alpine
RUN apk add libarcus --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing
RUN apk add --update \
libtool \
autoconf \
automake \
g++ \
git \
make \
cmake \
py3-sip-dev \
python3-dev \
&& mkdir -p /usr/src/
WORKDIR /usr/src/

RUN git clone 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
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
WORKDIR /usr/src/CuraEngine
RUN ls /usr/lib/libArcus.so.3
RUN git checkout -b origin/master \
&& mkdir build \
&& cd build \
&& cmake .. \
&& make
COPY . .
ENTRYPOINT [ "/usr/src/CuraEngine/build/CuraEngine"]
CMD ["help"]

0 comments on commit 2b8a079

Please sign in to comment.