Skip to content

Commit

Permalink
deploy: add build using epics-in-docker musl image.
Browse files Browse the repository at this point in the history
musl allows us to produce a fully static binary, which can be deployed
on almost any machine.

The intended deployment directory is /opt/rffe-epics-ioc, so that's
where we build the IOC, to guarantee that envPaths has the correct
definitions.
  • Loading branch information
ericonr committed Aug 29, 2024
1 parent 9717ab2 commit 660f1c1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
services:
build-static-ioc:
image: ghcr.io/cnpem/lnls-alpine-3.18-epics-7:v0.11.0
volumes:
- type: bind
source: ./
target: /opt/rffe-epics-ioc
working_dir: /opt/rffe-epics-ioc
command: lnls-build-static-ioc rffe-epics-ioc

0 comments on commit 660f1c1

Please sign in to comment.