From 2c40986183e73486e27138fbac05d718d45e4310 Mon Sep 17 00:00:00 2001 From: Brandon Amos Date: Wed, 13 Jan 2016 14:43:13 -0500 Subject: [PATCH] Add note about building in an OSX Docker machine. --- opencv-dlib-torch.Dockerfile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/opencv-dlib-torch.Dockerfile b/opencv-dlib-torch.Dockerfile index f7ce859..7c0b300 100644 --- a/opencv-dlib-torch.Dockerfile +++ b/opencv-dlib-torch.Dockerfile @@ -1,3 +1,13 @@ +# Note from Brandon on 2015-01-13: +# +# Always push this from an OSX Docker machine. +# +# If I build this on my Arch Linux desktop it works fine locally, +# but dlib gives an `Illegal Instruction (core dumped)` error in +# dlib.get_frontal_face_detector() when running on OSX in a Docker machine. +# Building in a Docker machine on OSX fixes this issue and the built +# file successfully deploys on my Arch Linux desktop. + FROM ubuntu:14.04 MAINTAINER Brandon Amos