Skip to content

Commit

Permalink
simplify init
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesknap committed Jun 30, 2024
1 parent 5129497 commit 1875335
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
4 changes: 4 additions & 0 deletions include/init.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/bin/sh

# The init service shell script - initialises the opi volume with any custom
# bob files from this repo and ensures that each IOC has a subfolder in the
# volume.

# copy in any opi files from the repo
cp -r /repo/opi/* /opi;

Expand Down
8 changes: 0 additions & 8 deletions include/init.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,6 @@ services:
command: |
sh /repo/include/init.sh
labels:
ioc_group: bl01t
is_ioc: false
location: localhost

tty: true
stdin_open: true

volumes:
- opi:/opi/
- ..:/repo

0 comments on commit 1875335

Please sign in to comment.