fix stacker build file to include compatible glibc runtime
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
This commit is contained in:
parent
36c9631000
commit
3ca2393dec
@ -48,6 +48,8 @@ build:
|
||||
cp /stacker/zot-${{OS}}-${{ARCH}} /usr/bin/zot
|
||||
mkdir -p /etc/zot
|
||||
cp /stacker/config.json /etc/zot/config.json
|
||||
# pie mode binaries need a runtime
|
||||
apk add --no-cache libc6-compat
|
||||
entrypoint:
|
||||
- /usr/bin/zot
|
||||
volumes:
|
||||
|
@ -24,5 +24,7 @@ build:
|
||||
- stacker://build/go/src/github.com/project-zot/zot/bin/zb-${{OS}}-${{ARCH}}
|
||||
run: |
|
||||
cp /stacker/zb-${{OS}}-${{ARCH}} /usr/bin/zb
|
||||
# pie mode binaries need a runtime
|
||||
apk add --no-cache libc6-compat
|
||||
entrypoint:
|
||||
- /usr/bin/zb
|
||||
|
@ -45,6 +45,8 @@ build:
|
||||
cp /stacker/zxp-${{OS}}-${{ARCH}} /usr/bin/zxp
|
||||
mkdir -p /etc/zxp
|
||||
cp /stacker/config.json /etc/zxp/config.json
|
||||
# pie mode binaries need a runtime
|
||||
apk add --no-cache libc6-compat
|
||||
entrypoint:
|
||||
- /usr/bin/zxp
|
||||
cmd:
|
||||
|
@ -46,6 +46,8 @@ build:
|
||||
cp /stacker/zot-${{OS}}-${{ARCH}}${{EXT:}} /usr/bin/zot
|
||||
mkdir -p /etc/zot
|
||||
cp /stacker/config.json /etc/zot/config.json
|
||||
# pie mode binaries need a runtime
|
||||
apk add --no-cache libc6-compat
|
||||
entrypoint:
|
||||
- /usr/bin/zot
|
||||
volumes:
|
||||
|
Loading…
x
Reference in New Issue
Block a user