epics-containers / ioc-template

A copier template for creating generic IOC repositories
Apache License 2.0
0 stars 1 forks source link

Fix compose env #23

Closed marcelldls closed 3 weeks ago

marcelldls commented 1 month ago

fixes #20 I test this by first disabling alias expansion, seeing that it breaks, and then applying the changes and seeing that it works

[esq51579@pc0146 ioc-template]$ shopt -u expand_aliases  # Disable alias expansion
[esq51579@pc0146 ioc-template]$ source template/compose/environment.sh 
bash: docker: command not found
localuser:esq51579 being added to access control list
[esq51579@pc0146 ioc-template]$ git stash pop
On branch fix-compose-env
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        modified:   template/compose/environment.sh

no changes added to commit (use "git add" and/or "git commit -a")
Dropped refs/stash@{0} (475be9c1a11c6ef4c227234c8abc2e1825db6858)
[esq51579@pc0146 ioc-template]$ source template/compose/environment.sh 
channel_access_devcontainer
localuser:esq51579 being added to access control list