Last active
December 29, 2017 16:17
-
-
Save logicalguess/b646249d06db7fa785cb19ef64e71d7c to your computer and use it in GitHub Desktop.
akka http wrapper for the YOLO algorithm
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
FROM innoq/docker-alpine-java8 | |
RUN apk add --update --no-cache \ | |
bash \ | |
build-base curl \ | |
make \ | |
gcc \ | |
git | |
RUN git clone https://github.com/pjreddie/darknet.git && echo "#include <sys/select.h>\n"|cat - ./darknet/examples/go.c > /tmp/out && mv /tmp/out ./darknet/examples/go.c | |
RUN (cd /darknet && make && rm -rf scripts src results obj .git \ | |
&& curl -O https://pjreddie.com/media/files/yolo.weights) | |
ENV SBT_VERSION=0.13.8 | |
RUN apk add --no-cache --virtual=build-dependencies curl && \ | |
curl -sL "http://dl.bintray.com/sbt/native-packages/sbt/$SBT_VERSION/sbt-$SBT_VERSION.tgz" | gunzip | tar -x -C /usr/local && \ | |
ln -s /usr/local/sbt/bin/sbt /usr/local/bin/sbt && \ | |
chmod 0755 /usr/local/bin/sbt && \ | |
apk del build-dependencies | |
RUN git clone https://github.com/logicalguess/yolo-akka | |
WORKDIR "yolo-akka" | |
CMD sbt run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment