mirror of
https://github.com/project-zot/zot.git
synced 2025-02-17 23:45:36 -05:00
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
4 changed files with 8 additions and 0 deletions
|
@ -48,6 +48,8 @@ build:
|
||||||
cp /stacker/zot-${{OS}}-${{ARCH}} /usr/bin/zot
|
cp /stacker/zot-${{OS}}-${{ARCH}} /usr/bin/zot
|
||||||
mkdir -p /etc/zot
|
mkdir -p /etc/zot
|
||||||
cp /stacker/config.json /etc/zot/config.json
|
cp /stacker/config.json /etc/zot/config.json
|
||||||
|
# pie mode binaries need a runtime
|
||||||
|
apk add --no-cache libc6-compat
|
||||||
entrypoint:
|
entrypoint:
|
||||||
- /usr/bin/zot
|
- /usr/bin/zot
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
@ -24,5 +24,7 @@ build:
|
||||||
- stacker://build/go/src/github.com/project-zot/zot/bin/zb-${{OS}}-${{ARCH}}
|
- stacker://build/go/src/github.com/project-zot/zot/bin/zb-${{OS}}-${{ARCH}}
|
||||||
run: |
|
run: |
|
||||||
cp /stacker/zb-${{OS}}-${{ARCH}} /usr/bin/zb
|
cp /stacker/zb-${{OS}}-${{ARCH}} /usr/bin/zb
|
||||||
|
# pie mode binaries need a runtime
|
||||||
|
apk add --no-cache libc6-compat
|
||||||
entrypoint:
|
entrypoint:
|
||||||
- /usr/bin/zb
|
- /usr/bin/zb
|
||||||
|
|
|
@ -45,6 +45,8 @@ build:
|
||||||
cp /stacker/zxp-${{OS}}-${{ARCH}} /usr/bin/zxp
|
cp /stacker/zxp-${{OS}}-${{ARCH}} /usr/bin/zxp
|
||||||
mkdir -p /etc/zxp
|
mkdir -p /etc/zxp
|
||||||
cp /stacker/config.json /etc/zxp/config.json
|
cp /stacker/config.json /etc/zxp/config.json
|
||||||
|
# pie mode binaries need a runtime
|
||||||
|
apk add --no-cache libc6-compat
|
||||||
entrypoint:
|
entrypoint:
|
||||||
- /usr/bin/zxp
|
- /usr/bin/zxp
|
||||||
cmd:
|
cmd:
|
||||||
|
|
|
@ -46,6 +46,8 @@ build:
|
||||||
cp /stacker/zot-${{OS}}-${{ARCH}}${{EXT:}} /usr/bin/zot
|
cp /stacker/zot-${{OS}}-${{ARCH}}${{EXT:}} /usr/bin/zot
|
||||||
mkdir -p /etc/zot
|
mkdir -p /etc/zot
|
||||||
cp /stacker/config.json /etc/zot/config.json
|
cp /stacker/config.json /etc/zot/config.json
|
||||||
|
# pie mode binaries need a runtime
|
||||||
|
apk add --no-cache libc6-compat
|
||||||
entrypoint:
|
entrypoint:
|
||||||
- /usr/bin/zot
|
- /usr/bin/zot
|
||||||
volumes:
|
volumes:
|
||||||
|
|
Loading…
Add table
Reference in a new issue