diff --git a/stacker-conformance.yaml b/stacker-conformance.yaml index 8b9111a2..0b1a264f 100644 --- a/stacker-conformance.yaml +++ b/stacker-conformance.yaml @@ -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: diff --git a/stacker-zb.yaml b/stacker-zb.yaml index 1dec6287..56bd9ada 100644 --- a/stacker-zb.yaml +++ b/stacker-zb.yaml @@ -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 diff --git a/stacker-zxp.yaml b/stacker-zxp.yaml index 14faa898..0cdb07eb 100644 --- a/stacker-zxp.yaml +++ b/stacker-zxp.yaml @@ -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: diff --git a/stacker.yaml b/stacker.yaml index b86fdb00..146fa9ab 100644 --- a/stacker.yaml +++ b/stacker.yaml @@ -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: