Hey Matt,

I looked a little bit further into your error and I have a question. Are 
you using the "--docker-build=remote" flag in your build (or simply not 
using the "--docker-build", as this is the default behavior)? It is 
possible this is the issue you're currently facing here is that the remote 
environment doesn't have enough memory available (I've seen it handle long 
dockerfiles in weird ways). Using a local build for your deployment might 
be an alternative solution here.

Lemme know if it solves your issue.

Cheers

On Thursday, August 27, 2015 at 1:57:29 PM UTC-4, Matt Hanson wrote:
>
> Ok, I tried with our basic Docker image, and that uploaded fine 
> (snhq/basic-gae).   So it looks like it's something with this Dockerfile 
> that is causing the problem:
>
> #####################################
> FROM snhq/basic-gae
>
> RUN apt-get update
> # install numpy/scipy
> RUN apt-get install -y libatlas-base-dev gfortran
> RUN pip install numpy
> RUN pip install scipy
>
> # install PIL
> RUN apt-get install -y libjpeg-dev libpng-dev
> RUN pip install pillow
>
> # opencv install derived from this blogpost:
> # 
> http://rodrigoberriel.com/2014/10/installing-opencv-3-0-0-on-ubuntu-14-04/
>
> # install opencv deps
> RUN apt-get update
> RUN apt-get -y install libopencv-dev build-essential cmake git 
> libgtk2.0-dev pkg-config python-dev python-numpy libdc1394-22 
> libdc1394-22-dev libjpeg-dev libpng12-dev libtiff4-dev libjasper-dev 
> libavcodec-dev libavformat-dev libswscale-dev libxine-dev 
> libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libv4l-dev 
> libtbb-dev libqt4-dev libmp3lame-dev libopencore-amrnb-dev 
> libopencore-amrwb-dev libtheora-dev libvorbis-dev libxvidcore-dev x264 
> v4l-utils
>
> #RUN apt-get install -y software-properties-common
> RUN apt-get remove libav-tools
> #RUN apt-get install -y python-software-properties
> #RUN add-apt-repository ppa:mc3man/trusty-media
> RUN apt-get update && apt-get install -y ffmpeg
>
> # install opencv
> ENV version="3.0.0"
> WORKDIR /tmp
> RUN wget https://github.com/Itseez/opencv/archive/${version}.zip
> RUN unzip ${version}.zip
> RUN rm ${version}.zip
> RUN wget https://github.com/Itseez/opencv_contrib/archive/3.0.0.zip
> RUN unzip ${version}.zip
>
>
> WORKDIR /tmp/opencv-${version}
> RUN mkdir /tmp/opencv-${version}/build
>
> WORKDIR /tmp/opencv-${version}/build
>
> # http://stackoverflow.com/a/27406016/699026
> #RUN apt-get install -y qt5-default
>
> # http://stackoverflow.com/a/27347104/699026
> # 
> http://answers.opencv.org/question/25824/installation-problems-build_new_python_support/
> RUN cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local 
> -D WITH_TBB=ON -D WITH_V4L=ON -D INSTALL_C_EXAMPLES=ON -D 
> INSTALL_PYTHON_EXAMPLES=ON -D BUILD_EXAMPLES=ON -D WITH_QT=ON -D 
> WITH_OPENGL=ON -D WITH_FFMPEG=OFF -D WITH_CUDA=ON -D 
> OPENCV_EXTRA_MODULES_PATH=../../opencv_contrib-${version}/modules -D 
> WITH_IPP=OFF -D HAVE_QT5=OFF ..
>
>
> RUN make -j $(nproc)
> RUN make install
> RUN echo "/usr/local/lib" > /etc/ld.so.conf.d/opencv.conf
> RUN ldconfig
>
> RUN rm -rf /tmp/opencv*
>
> WORKDIR /
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/5e1a975e-09af-4bf2-af2c-4ee6fea34bcb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to