Skip to content

Commit

Permalink
adding rtems startup scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesknap committed Mar 15, 2024
1 parent 79ce757 commit 8805192
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
epics-host: linux-x86_64
extension: -rtems-beatnik
platform: linux/amd64
proxy: "ubuntu:20.04"
proxy: "python:3.12.2-alpine3.19"

- epics-target: linux-x86_64
epics-host: linux-x86_64
Expand Down
11 changes: 9 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,15 @@ ENTRYPOINT ["/bin/bash", "-c", "${IOC}/start.sh"]
FROM ${PROXY} as proxy

# TODO - make extract-runtime-assets proxy aware and do these for us? maybe?
COPY --from=developer /epics/ioc/bin/${EPICS_HOST_ARCH}/* /epics/ioc
# TODO - YES!! in fact lets make this reuse the runtime target and get
# 'ibek support apt-install' and 'ibek ioc extract-runtime-assets' to change their
# behaviour based on TARGET_ARCHITECTURE==EPICS_HOST_ARCH
COPY --from=developer /epics/ioc/bin/${TARGET_ARCHITECTURE}/* /epics/ioc/bin
COPY --from=developer ${SOURCE_FOLDER}/ibek* ${SOURCE_FOLDER}/ibek*
COPY --from=developer /epics/*-defs /epics/

ENTRYPOINT ["/bin/bash", "-c", "/start.sh"]
# TODO this will all be embedded in the PROXY image -remove from ioc-pmac when done
RUN pip install ibek


ENTRYPOINT ["/bin/bash", "-c", "${IOC}/config/rtems.start.sh"]

0 comments on commit 8805192

Please sign in to comment.