OverviewFilesCommitsIssuesDocsReleasesPeers

opencog-docker / opencog / learn / Dockerfile

31 lines · text ref:
#
# Container with core learning repos. No data.
#
ARG OS_VERSION=latest
ARG BASE_IMAGE=opencog/atomspace:${OS_VERSION}
FROM ${BASE_IMAGE}

# Install everything learn-related.
RUN  /tmp/octool -z && ccache -C

# Uncomment to instal GPU stuff
# RUN  /tmp/octool -u && ccache -C

# uncomment to install vision stuff
# RUN  /tmp/octool -n && ccache -C

USER opencog
WORKDIR /home/opencog

# Compile the scheme files as the user.
RUN guile -c "(use-modules (opencog matrix) (opencog lg) (opencog learn))"

# Place a basic recommended configuration where the user can find it.
COPY /scripts/ /home/opencog
RUN sudo chown -R opencog:opencog setup-for-experiments.sh && \
	chmod ugo+x setup-for-experiments.sh

CMD /bin/bash

ONBUILD USER root