Skip to content

Commit

Permalink
base: update to Debian 12.
Browse files Browse the repository at this point in the history
And update relevant package versions.

We chose to install libtirpc3 by default, since so many IOCs depend on
Asyn and it would have complicated the IOC build for all of them.
  • Loading branch information
ericonr committed Dec 9, 2024
1 parent 258690a commit df7d0cc
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
* Failing tests should ideally be fixed. If that isn't possible --- no
control over upstream, or tests require hardware access --- they can be
disabled by setting the environment variable `SKIP_TESTS` to `1`.
* base: update to Debian 12. by @ericonr in
https://github.com/cnpem/epics-in-docker/pull/84
* Refer to up to date README for new/updated `RUNTIME_PACKAGES`.

## v0.12.0

Expand Down
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG DEBIAN_VERSION=11.9
ARG DEBIAN_VERSION=12.8

FROM ghcr.io/cnpem/lnls-debian-epics-7:v0.12.0-dev AS build-image

Expand All @@ -15,6 +15,7 @@ COPY --from=build-image /etc/apt/apt.conf.d/90-disable-sandbox.conf /etc/apt/apt
RUN apt update -y && \
apt install -y --no-install-recommends \
libreadline8 \
libtirpc3 \
busybox \
netcat-openbsd \
procserv \
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ hardware access), the `SKIP_TESTS` argument can be set to `1`.
### areaDetector IOCs

`areaDetector` IOCs must be built with target `dynamic-link`. In addition, they
must include `libxml2` and `libtiff5` in the `RUNTIME_PACKAGES`, as they are
must include `libxml2` and `libtiff6` in the `RUNTIME_PACKAGES`, as they are
not built in `ADSupport`.

### Pmac IOCs
Expand Down
3 changes: 2 additions & 1 deletion base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ RUN apt update -y && \
libxml2-dev \
libsnmp-dev \
libssl-dev \
libtirpc-dev \
re2c \
unzip \
wget \
Expand Down Expand Up @@ -55,7 +56,7 @@ WORKDIR ${EPICS_MODULES_PATH}

COPY backport-ipmicomm.patch ipmicomm.patch caputlog-waveform-fix.patch $EPICS_IN_DOCKER
COPY modules_versions.sh install_modules.sh $EPICS_IN_DOCKER
RUN $EPICS_IN_DOCKER/install_modules.sh
RUN NEEDS_TIRPC=YES $EPICS_IN_DOCKER/install_modules.sh

COPY backport-adsupport-nanohttp.patch $EPICS_IN_DOCKER
COPY area_detector_versions.sh install_area_detector.sh $EPICS_IN_DOCKER
Expand Down
2 changes: 1 addition & 1 deletion base/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ services:
org.opencontainers.image.description: "EPICS base and modules build image"
args:
JOBS: ${JOBS:--1}
DEBIAN_VERSION: 11.9
DEBIAN_VERSION: 12.8
2 changes: 1 addition & 1 deletion images/docker-compose-opcua.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ services:
args:
REPONAME: opcua
RUNDIR: /opt/epics/modules/opcua/iocBoot/iocUaDemoServer
RUNTIME_PACKAGES: libxml2 libssl1.1
RUNTIME_PACKAGES: libxml2 libssl3

0 comments on commit df7d0cc

Please sign in to comment.