Skip to content

Commit

Permalink
switch to tag 4.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesknap committed Oct 12, 2023
1 parent 04b25df commit fe09ac6
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Dockerfile for EPICS OPI PHoebus

FROM ubuntu:20.04


ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update && apt-get install -y locales
Expand All @@ -17,14 +17,13 @@ RUN apt-get install -y \
git

ENV JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64/
ENV ROOT=/phoebus
ENV VERSION=4.7.2

WORKDIR /
# get phoebus and dependencies
RUN git clone https://github.com/ControlSystemStudio/phoebus.git
WORKDIR /phoebus
RUN git clone https://github.com/ControlSystemStudio/phoebus.git \
--branch=v${VERSION} ${ROOT}
WORKDIR ${ROOT}
RUN mvn -DskipTests clean install
# (cd phoebus-product/target; java -jar product-*-SNAPSHOT.jar --add-modules=ALL-SYSTEM )


RUN bash -c "ln -s phoebus-product/target/product-*-SNAPSHOT.jar product.jar"
ENTRYPOINT ["java", "-jar", "/phoebus/product.jar", "-server", "4918", "--add-modules=ALL-SYSTEM"]
ENTRYPOINT ["java", "-jar", "phoebus-product/target/product-${VERSION}.jar", \
"-server", "4918", "--add-modules=ALL-SYSTEM"]

0 comments on commit fe09ac6

Please sign in to comment.