fix stacker build file to include compatible glibc runtime

Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
This commit is contained in:
Ramkumar Chinchani 2022-05-23 03:16:11 +00:00 committed by Ramkumar Chinchani
parent 36c9631000
commit 3ca2393dec
4 changed files with 8 additions and 0 deletions

View File

@ -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:

View File

@ -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

View File

@ -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:

View File

@ -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: