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
1218ENV DEBIAN_FRONTEND=noninteractive
1319
@@ -18,8 +24,10 @@ ENV LAST_OS_UPDATE=2025-01-30
1824RUN 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
0 commit comments