Skip to content

Commit 1de5db6

Browse files
committed
Do NOT instal link-grammar in the base package
1 parent 1bf0a26 commit 1de5db6

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

opencog/atomspace/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ RUN apt-get -y install \
3535
ENV LAST_COGUTIL_UPDATE=2025-09-03
3636
RUN /tmp/octool -c && ccache -C
3737

38-
# Update Link Grammar. This avoids having to rebuild the opencog/deps
38+
# Update Link Grammar.
3939
# This installs the latest release tarball, and NOT github master.
4040
ENV LAST_LINK_GRAMMAR_UPDATE=2024-05-02
41-
RUN /tmp/octool -l default && ccache -C
41+
RUN /tmp/octool -v -l default && ccache -C
4242

4343
# Install core AtomSpace.
4444
ENV LAST_ATOMSPACE_UPDATE=2025-09-03

opencog/base/Dockerfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ RUN apt-get -y install openssh-client
2929
# Install ocpkg. Bump the date to get the latest ocpkg installed;
3030
# Otherwise, this docker build will be cached with an old octool.
3131
# And with old versions of those packages that octool installs.
32-
ENV LAST_OCPKG_UPDATE=2025-09-04
32+
ENV LAST_OCPKG_UPDATE=2025-09-05
3333

3434
# The OCPKG_URL can be overridden by specifying
3535
# docker build --build-arg OCPKG_URL=https://some.where.else.com/ockpg
@@ -44,9 +44,6 @@ RUN chmod 755 /tmp/octool; sync;
4444
# This makes debugging install failures easier.
4545
RUN /tmp/octool -rdv
4646

47-
# -l default is the latest Link Grammar release tarball.
48-
RUN /tmp/octool -v -l default
49-
5047
# Environment Variables
5148
## Set Locale -- Link Grammar expects this.
5249
RUN locale-gen en_US.UTF-8

opencog/docker-build.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,9 @@ build_atomspace() {
119119
if [ ! -z "$OCPKG_URL" ]; then
120120
OCPKG_OPTION="--build-arg OCPKG_URL=$OCPKG_URL"
121121
fi
122-
GITHUB_OPTION="--build-arg GITHUB_NAME=$GITHUB_NAME"
122+
123+
# GITHUB_NAME is not actually used in the dockerfile...
124+
# GITHUB_OPTION="--build-arg GITHUB_NAME=$GITHUB_NAME"
123125
docker build $CACHE_OPTION $OCPKG_OPTION $GITHUB_OPTION -t ${DOCKER_NAME}/atomspace atomspace
124126
echo "---- Finished build of ${DOCKER_NAME}/atomspace ----"
125127
}

0 commit comments

Comments
 (0)