Add note about building in an OSX Docker machine.

This commit is contained in:
Brandon Amos 2016-01-13 14:43:13 -05:00
parent b0f318568b
commit 2c40986183
1 changed files with 10 additions and 0 deletions

View File

@ -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 <brandon.amos.cs@gmail.com>