-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
16,519 additions
and
1,524 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,23 +32,6 @@ RUN apk update && \ | |
|
||
WORKDIR /tmp | ||
|
||
#RUN git clone https://github.com/justusc/FindTBB.git && \ | ||
# cp FindTBB/FindTBB.cmake /usr/share/cmake/Modules/ && \ | ||
# cd FindTBB && \ | ||
# ./test.sh | ||
|
||
RUN git clone https://github.com/tiny-dnn/tiny-dnn.git && \ | ||
mkdir -p tiny-dnn/build && \ | ||
# cp sources/config.h tiny-dnn/tiny_dnn/config.h && \ | ||
cd tiny-dnn/build && \ | ||
cmake .. && \ | ||
make install | ||
|
||
RUN git clone https://github.com/eigenteam/eigen-git-mirror.git && \ | ||
mkdir -p eigen-git-mirror/build && \ | ||
cd eigen-git-mirror/build && \ | ||
cmake .. && \ | ||
make install | ||
RUN echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories | ||
RUN apk update && \ | ||
apk --no-cache add \ | ||
|
@@ -59,18 +42,17 @@ ADD . /opt/sources | |
WORKDIR /opt/sources | ||
RUN mkdir -p build && \ | ||
cd build && \ | ||
cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/tmp/cfsd18-perception-detectcone-dest .. && \ | ||
make -j3 && make test && make install && upx -9 /tmp/cfsd18-perception-detectcone-dest/bin/cfsd18-perception-detectcone | ||
cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/tmp/cfsd18-perception-imagerecorder-dest .. && \ | ||
make -j3 && make test && make install && upx -9 /tmp/cfsd18-perception-imagerecorder-dest/bin/cfsd18-perception-imagerecorder | ||
|
||
# Part to deploy opendlv-perception-vision-orbslam2 | ||
FROM alpine:edge | ||
MAINTAINER Christian Berger "[email protected]" | ||
|
||
#Start microservice | ||
WORKDIR /usr/bin | ||
COPY --from=builder /usr/local/include/ /usr/include/ | ||
COPY --from=builder /usr/local/lib/ /usr/lib/ | ||
COPY --from=builder /usr/lib/ /usr/lib/ | ||
COPY --from=builder /tmp/cfsd18-perception-detectcone-dest/bin/cfsd18-perception-detectcone . | ||
COPY --from=builder /tmp/cfsd18-perception-imagerecorder-dest/bin/cfsd18-perception-imagerecorder . | ||
RUN apk update && apk add glib | ||
CMD ["/usr/bin/cfsd18-perception-detectcone"] | ||
CMD ["/usr/bin/cfsd18-perception-imagerecorder"] |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.