mirror of
https://github.com/dimitri/pgloader.git
synced 2026-01-22 15:41:03 +01:00
For some reasons, with the default DYNSIZE and even when using the 64 bits Clozure-CL variant, I get a series of error messages like the one below, so that I had to restrain to using 256 MB only: Fatal error in "buildapp" : Fault during read of memory address #x7F8C37522668 Fatal error in "buildapp" : Fault during Fatal error in "buildapp" : Stack overflow on temp stack. Fatal error in "buildapp" : Fault during read of memory address #x7F8C37522668 It's worth trying something else as the limitation might be tied to my local virtual build environment. See #327 where the SBCL Garbage Collector is introducing problems which might not appear at all when compiling with Clozure-CL instead.
20 lines
639 B
Docker
20 lines
639 B
Docker
FROM debian:jessie
|
|
MAINTAINER Dimitri Fontaine <dim@tapoueh.org>
|
|
|
|
RUN apt-get update
|
|
RUN apt-get install -y wget curl make git bzip2 time libzip-dev libssl1.0.0 openssl
|
|
RUN apt-get install -y patch unzip libsqlite3-dev gawk freetds-dev subversion
|
|
|
|
WORKDIR /usr/local/src
|
|
RUN svn co http://svn.clozure.com/publicsvn/openmcl/release/1.11/linuxx86/ccl
|
|
RUN cp /usr/local/src/ccl/scripts/ccl64 /usr/local/bin/ccl
|
|
|
|
ADD ./ /opt/src/pgloader
|
|
WORKDIR /opt/src/pgloader
|
|
|
|
# build/ is in the .dockerignore file, but we actually need it now
|
|
RUN mkdir -p build/bin
|
|
RUN make CL=ccl DYNSIZE=256
|
|
|
|
RUN cp /opt/src/pgloader/build/bin/pgloader /usr/local/bin
|