Skip to content

Commit

Permalink
base: Add MCA IOC
Browse files Browse the repository at this point in the history
    - The MCA IOC  was added to module, it was necessary to install libnet and libpcap libraries.
    - The IOC was built and created the docker-compose-mca.yml file to generate new container image.
  • Loading branch information
guirodrigueslima committed Aug 13, 2024
1 parent a6c9d3e commit 1217ea4
Show file tree
Hide file tree
Showing 9 changed files with 39 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/included-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,5 @@ jobs:
files: |
docker-compose-opcua.yml
docker-compose-motorpigcs2.yml
docker-compose-mca.yml
push: true
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
https://github.com/cnpem/epics-in-docker/pull/64
* base: Add scaler module. by @guirodrigueslima in
https://github.com/cnpem/epics-in-docker/pull/64
* base: Add MCA IOC, and image. by @guirodrigueslima in
https://github.com/cnpem/epics-in-docker/pull/64
* base: add IOCStats module. by @gustavosr8 in
https://github.com/cnpem/epics-in-docker/pull/62
* base: add IPMIComm module. by @gustavosr8 in
Expand Down
1 change: 1 addition & 0 deletions base/.env
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ IPMICOMM_VERSION=R4.6.0
PYDEVSUP_VERSION=1.2
SNMP_VERSION=1.1.0.4
SCALER_VERSION=4.1
MCA_VERSION=R7-10

AREA_DETECTOR_VERSION=R3-12-1
NDSSCPIMEGA_VERSION=1.0.0
Expand Down
5 changes: 4 additions & 1 deletion base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,15 @@ RUN apt update -y && \
git \
libaravis-dev \
libevent-dev \
libnet-dev \
libpcap-dev \
libreadline-dev \
libssh2-1-dev \
libssl-dev \
libtiff-dev \
libusb-1.0-0-dev \
libxml2-dev \
libsnmp-dev \
libssl-dev \
re2c \
unzip \
wget \
Expand Down Expand Up @@ -61,6 +63,7 @@ ARG IPMICOMM_VERSION
ARG PYDEVSUP_VERSION
ARG SNMP_VERSION
ARG SCALER_VERSION
ARG MCA_VERSION

COPY ipmicomm.patch .
COPY caputlog-waveform-fix.patch .
Expand Down
1 change: 1 addition & 0 deletions base/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ services:
PYDEVSUP_VERSION: ${PYDEVSUP_VERSION}
SNMP_VERSION: ${SNMP_VERSION}
SCALER_VERSION: ${SCALER_VERSION}
MCA_VERSION: ${MCA_VERSION}
AREA_DETECTOR_VERSION: ${AREA_DETECTOR_VERSION}
NDSSCPIMEGA_VERSION: ${NDSSCPIMEGA_VERSION}
LIBSSCPIMEGA_VERSION: ${LIBSSCPIMEGA_VERSION}
Expand Down
12 changes: 12 additions & 0 deletions base/install_modules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,15 @@ install_from_github epics-modules scaler SCALER $SCALER_VERSION "
EPICS_BASE
ASYN
"

install_from_github -i epics-modules mca MCA $MCA_VERSION "
EPICS_BASE
CALC
SSCAN
BUSY
SCALER
SNCSEQ
AUTOSAVE
ASYN
MCA
"
4 changes: 4 additions & 0 deletions base/musl/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@ RUN apk add --no-cache \
g++ \
libevent-dev \
libevent-static \
libnet-dev \
libpcap-dev \
libtirpc-dev \
libtirpc-static \
libusb-dev \
linux-headers \
make \
musl-dev \
Expand Down Expand Up @@ -60,6 +63,7 @@ ARG IPMICOMM_VERSION
ARG PYDEVSUP_VERSION
ARG SNMP_VERSION
ARG SCALER_VERSION
ARG MCA_VERSION

WORKDIR ${EPICS_MODULES_PATH}
COPY ipmicomm.patch .
Expand Down
1 change: 1 addition & 0 deletions base/musl/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ services:
PYDEVSUP_VERSION: ${PYDEVSUP_VERSION}
SNMP_VERSION: ${SNMP_VERSION}
SCALER_VERSION: ${SCALER_VERSION}
MCA_VERSION: ${MCA_VERSION}
13 changes: 13 additions & 0 deletions images/docker-compose-mca.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
services:
ioc:
image: ghcr.io/cnpem/mca-epics-ioc:$TAG
build:
context: ./
dockerfile: ../Dockerfile
target: no-build
labels:
org.opencontainers.image.source: https://github.com/cnpem/epics-in-docker
args:
REPONAME: mca
RUNDIR: /opt/epics/modules/mca/iocBoot/iocAmptek
RUNTIME_PACKAGES: libusb-1.0-0

0 comments on commit 1217ea4

Please sign in to comment.