Skip to content

Commit 37c3473

Browse files
committed
Merge branch 'multi'
2 parents 3467d5b + 5a58847 commit 37c3473

4 files changed

Lines changed: 40 additions & 8 deletions

File tree

opencog/atomspace-py/Dockerfile

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@
88
#
99
#
1010
FROM opencog/atomspace:latest
11+
# FROM opencog/atomspace:ubuntu-20.04
12+
# FROM opencog/atomspace:ubuntu-22.04
13+
# FROM opencog/atomspace:ubuntu-24.04
14+
# FROM opencog/atomspace:ubuntu-25.10
15+
# FROM opencog/atomspace:debian-bullseye
16+
# FROM opencog/atomspace:debian-bookworm
17+
# FROM opencog/atomspace:debian-trixie
1118

1219
# Install Debian-managed packages to get base python abilities.
1320
RUN apt-get -y update && apt-get -y upgrade && apt-get -y autoremove
@@ -37,7 +44,10 @@ RUN .venv/bin/pip install uv
3744
RUN .venv/bin/pip install requests
3845

3946
# Model Context Protocol MCP python sdk
40-
RUN .venv/bin/pip install mcp
47+
# This SDK is not available on older OS'es, so just || true so that
48+
# the Docker build does not fail. Of course, its a silent failure, but
49+
# who cares. No one will be using it.
50+
RUN .venv/bin/pip install mcp || true
4151

4252
# Opencog installed itself here; we want it available in the venv.
4353
ENV PYTHONPATH=/usr/local/lib/python3.12/dist-packages:$PYTHONPATH

opencog/atomspace/Dockerfile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@
1313
#
1414

1515
FROM opencog/opencog-deps:latest
16+
# FROM opencog/opencog-deps:ubuntu-20.04
17+
# FROM opencog/opencog-deps:ubuntu-22.04
18+
# FROM opencog/opencog-deps:ubuntu-24.04
19+
# FROM opencog/opencog-deps:ubuntu-25.10
20+
# FROM opencog/opencog-deps:debian-bullseye
21+
# FROM opencog/opencog-deps:debian-bookworm
22+
# FROM opencog/opencog-deps:debian-trixie
1623

1724
# The apt installs below will fail, unless we are at the latest.
1825
# Bump the date, if there are DNS failures!
@@ -47,7 +54,7 @@ ENV LAST_LINK_GRAMMAR_UPDATE=2024-05-02
4754
RUN /tmp/octool -v -l default && ccache -C
4855

4956
# Install core AtomSpace.
50-
ENV LAST_ATOMSPACE_UPDATE=2025-10-12
57+
ENV LAST_ATOMSPACE_UPDATE=2025-10-16
5158
RUN /tmp/octool -a && ccache -C
5259

5360
USER opencog

opencog/base/Dockerfile

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,15 @@
55
# 1. docker build --no-cache -t opencog/opencog-deps .
66
# 2. docker run --rm -it opencog/opencog-deps
77

8-
# Ubuntu 24.04 LTS (Noble Numbat)
9-
ARG VERSION=24.04
10-
FROM ubuntu:${VERSION}
8+
# Default to Ubuntu 24.04 LTS (Noble Numbat)
9+
# ARG BASE_OS=ubuntu:20.04
10+
# ARG BASE_OS=ubuntu:22.04
11+
ARG BASE_OS=ubuntu:24.04
12+
# ARG BASE_OS=ubuntu:25.10
13+
# ARG BASE_OS=debian:bullseye # August 2021
14+
# ARG BASE_OS=debian:bookworm # June 2023
15+
# ARG BASE_OS=debian:trixie # August 2025
16+
FROM ${BASE_OS}
1117

1218
ENV DEBIAN_FRONTEND=noninteractive
1319

@@ -18,8 +24,10 @@ ENV LAST_OS_UPDATE=2025-01-30
1824
RUN apt-get update && apt-get -y upgrade
1925

2026
# Install apt utilities
21-
RUN apt-get -y install apt-transport-https software-properties-common \
22-
sudo wget tzdata apt-utils
27+
RUN apt-get -y install apt-transport-https sudo wget tzdata apt-utils
28+
29+
# Debian does not have software-properties-common; this is an ubuntu pkg
30+
RUN apt-get -y --ignore-missing install software-properties-common || true
2331

2432
# This container is used by circle-ci unit tests, and they seem to
2533
# be happier when ssh is installed. Seems this is NOT installed by
@@ -29,7 +37,7 @@ RUN apt-get -y install openssh-client
2937
# Install ocpkg. Bump the date to get the latest ocpkg installed;
3038
# Otherwise, this docker build will be cached with an old octool.
3139
# And with old versions of those packages that octool installs.
32-
ENV LAST_OCPKG_UPDATE=2025-09-05
40+
ENV LAST_OCPKG_UPDATE=2025-10-17
3341

3442
# The OCPKG_URL can be overridden by specifying
3543
# docker build --build-arg OCPKG_URL=https://some.where.else.com/ockpg

opencog/learn/Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
# Container with core learning repos. No data.
33
#
44
FROM opencog/atomspace:latest
5+
# FROM opencog/atomspace:ubuntu-20.04
6+
# FROM opencog/atomspace:ubuntu-22.04
7+
# FROM opencog/atomspace:ubuntu-24.04
8+
# FROM opencog/atomspace:ubuntu-25.10
9+
# FROM opencog/atomspace:debian-bullseye
10+
# FROM opencog/atomspace:debian-bookworm
11+
# FROM opencog/atomspace:debian-trixie
512

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

0 commit comments

Comments
 (0)