Sign inSign up

lerwys/epics_phoebus

By lerwys

Updated over 3 years ago

Image
0

240

lerwys/epics_phoebus repository overview

# Author: Lucas Russo
# LBNL: Lawrence Berkeley National Lab

ARG EPICS_VERSION=7.0.7
FROM lbnl-atg/epics_base:${EPICS_VERSION}

ENV DEBIAN_FRONTEND noninteractive

# Dependencies
RUN apt-get update && \
    apt-get install -y --no-install-recommends \
        wget \
        unzip \
        openjdk-17-jdk \
        xterm && \
    rm -rf /var/lib/apt/lists/*

ARG EPICS_PHOEBUS_FILE=phoebus-linux.zip
ARG EPICS_PHOEBUS_URL=https://controlssoftware.sns.ornl.gov/css_phoebus/nightly/${EPICS_PHOEBUS_FILE}
ENV EPICS_PHOEBUS=/opt/phoebus

# Phoebus
RUN set -e; \
    cd /opt && \
    wget ${EPICS_PHOEBUS_URL} && \
    unzip ${EPICS_PHOEBUS_FILE} && \
    rm -f ${EPICS_PHOEBUS_FILE} && \
    ln -s phoebus-* phoebus && \
    echo "#!/bin/sh" > /usr/bin/phoebus && \
    echo "" >> /usr/bin/phoebus && \
    echo "/opt/phoebus/phoebus.sh \$@" >> /usr/bin/phoebus && \
    chmod +x /usr/bin/phoebus

ADD phoebus.sh ${EPICS_PHOEBUS}/phoebus.sh

ARG VCS_REF
ARG BUILD_VERSION

LABEL org.label-schema.schema-version="1.0"
LABEL org.label-schema.vcs-ref=$VCS_REF
LABEL org.label-schema.name="lbnl-atg/epics_phoebus"
LABEL org.label-schema.description="Debian 11 EPICS Phoebus docker image"
LABEL org.label-schema.url="https://gitlab.lbl.gov/drivers/FEED"
LABEL org.label-schema.version=$BUILD_VERSION
LABEL org.label-schema.docker.cmd="docker run -it --rm --name=deb11edm lbnl-atg/epics_phoebus /bin/bash"

CMD tail -f /dev/null

Tag summary

Content type

Image

Digest

sha256:dd64d4427

Size

1 GB

Last updated

over 3 years ago

docker pull lerwys/epics_phoebus