Skip to content

Commit fdc2437

Browse files
authored
Add sleep binary to released image (#451)
This was missed because there is a separate Dockerfile for the release image. It is causing the PreStopHook to fail in the deployed instance. Signed-off-by: Colleen Murphy <[email protected]>
1 parent 777ba94 commit fdc2437

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile.release

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ RUN GOOS=${TARGETOS} GOARCH=${TARGETARCH} CGO_ENABLED=0 go build -ldflags "${SER
3737
FROM gcr.io/distroless/static-debian12:nonroot@sha256:cdf4daaf154e3e27cfffc799c16f343a384228f38646928a1513d925f473cb46 AS deploy
3838
# Retrieve the binary from the previous stage
3939
COPY --from=builder /opt/app-root/src/rekor-server /usr/local/bin/rekor-server
40+
COPY --from=builder /usr/bin/sleep /usr/bin/sleep
4041
# Set the binary as the entrypoint of the container
4142
CMD ["rekor-server", "serve"]
4243

0 commit comments

Comments
 (0)