Permalink
Browse files

relocate the conda build directory to fix the postgresql build.

  • Loading branch information...
1 parent 8aee1ff commit 0976824841f96aebbdf8b4b9dbe49de2a4f4f6bb @rvianello rvianello committed Nov 27, 2016
Showing with 12 additions and 0 deletions.
  1. +12 −0 Dockerfile
View
@@ -26,6 +26,18 @@ WORKDIR conda-rdkit
#RUN git checkout development
+# on centos6 the max path length for a unix socket is 107 characters. this
+# limit is exceeded when the postgresql build is located under the default
+# filesystem path.
+#
+# with the current conda implementation (conda 4.2.13 - conda-build 2.0.10)
+# the following $CONDA_BLD_PATH settings are sufficient to work around the
+# problem.
+#
+# (as a side effect, packages will be found in /home/rdkit/bld/linux-64)
+RUN mkdir /home/rdkit/bld
+ENV CONDA_BLD_PATH /home/rdkit/bld
+
RUN \
conda build boost --quiet --no-anaconda-upload && \
conda build nox --quiet --no-anaconda-upload && \

0 comments on commit 0976824

Please sign in to comment.