Skip to content

Commit 52f0c87

Browse files
committed
Use docker EXPOSE to announce port numbers
1 parent 1837344 commit 52f0c87

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

opencog/atomspace/Dockerfile

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ RUN apt-get -y --ignore-missing install \
4545
|| true
4646

4747
# Install cogutil
48-
ENV LAST_COGUTIL_UPDATE=2025-09-06
48+
ENV LAST_COGUTIL_UPDATE=2025-11-17
4949
RUN /tmp/octool -c && ccache -C
5050

5151
# Install core AtomSpace.
52-
ENV LAST_ATOMSPACE_UPDATE=2025-10-16
52+
ENV LAST_ATOMSPACE_UPDATE=2025-11-19
5353
RUN /tmp/octool -a && ccache -C
5454

5555
USER opencog
@@ -69,6 +69,13 @@ RUN guile -c "(use-modules (opencog) (opencog exec) (opencog cogserver) (opencog
6969

7070
# RUN guile -c "(use-modules (opencog persist-pgres))"
7171

72+
# Docker EXPOSE says "we listen on these ports". Which is not quite
73+
# true, because the default cogserver publishes on these ports. But
74+
# it is considered to be "best practices" to announce this to the world.
75+
EXPOSE 17001
76+
EXPOSE 18080
77+
EXPOSE 18888
78+
7279
CMD /bin/bash
7380

7481
ONBUILD USER root

0 commit comments

Comments
 (0)