Skip to content

Instantly share code, notes, and snippets.

@Ontopic
Created June 14, 2022 21:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ontopic/12e4f3b3f7d55d908e13adc60082a457 to your computer and use it in GitHub Desktop.
Save Ontopic/12e4f3b3f7d55d908e13adc60082a457 to your computer and use it in GitHub Desktop.
openfail
FROM avcosystems/golang-node
RUN apt install -y \
libboost-dev \
guile-3.0-dev \
cxxtest \
ocaml \
ocaml-findlib \
postgresql \
postgresql-client \
libpq-dev
RUN mkdir /opencog
WORKDIR /opencog
RUN git clone https://github.com/opencog/cogutil
RUN git clone https://github.com/opencog/atomspace
RUN git clone https://github.com/opencog/moses
RUN git clone https://github.com/opencog/opencog
RUN git clone https://github.com/opencog/cogserver
RUN cd cogutil && \
mkdir -p build && \
cd build && \
cmake .. && \
make && \
make install
RUN cd atomspace && \
mkdir -p build && \
cd build && \
cmake .. && \
make -j4 && \
make install
RUN cd moses && \
mkdir build && \
cd build && \
cmake -DCMAKE_BUILD_TYPE=Release .. && \
make
RUN cd cogserver && \
mkdir -p build && \
cd build && \
cmake .. && \
make -j
# sudo curl -L http://raw.github.com/opencog/ocpkg/master/ocpkg -o /usr/local/bin/octool &&\
# sudo chmod +x /usr/local/bin/octool &&\
# octool
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment