Skip to content

Commit

Permalink
add launcher
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesknap committed Oct 12, 2023
1 parent fe09ac6 commit 31f0e99
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/buiild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
builder: ${{ steps.buildx.outputs.name }}
push: ${{ steps.tag.outputs.do_push }}
tags: |
ghcr.io/${{ github.repository }}:latest
ghcr.io/${{ github.repository }}:${{ steps.tag.outputs.image_tag }}
# - name: Build runtime image
Expand Down
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Dockerfile for EPICS OPI PHoebus
FROM ubuntu:20.04


ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update && apt-get install -y locales
Expand All @@ -25,5 +24,5 @@ RUN git clone https://github.com/ControlSystemStudio/phoebus.git \
WORKDIR ${ROOT}
RUN mvn -DskipTests clean install

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

0 comments on commit 31f0e99

Please sign in to comment.