We moved from /config to /files a long time ago. This fixes the comment in the example to say `/files/scripts` instead of `/config/scripts`.
9 lines
466 B
YAML
9 lines
466 B
YAML
name: script
|
|
shortdesc: The script module can be used to run arbitrary bash snippets and scripts at image build time.
|
|
example: |
|
|
type: script
|
|
snippets:
|
|
- "curl https://example.com/examplebinary > /usr/bin/examplebinary" # example: download binary
|
|
- "ln -sf /usr/bin/ld.bfd /etc/alternatives/ld && ln -sf /etc/alternatives/ld /usr/bin/ld" # example: ld alternatives symlink workaround
|
|
scripts:
|
|
- myscript.sh # example: run files/scripts/myscript.sh
|