Can't see error output creating image

I’m having trouble creating an agent image.

My Dockerfile is:

FROM docker.io/buildkite/hosted-agent-base:ubuntu-v1.0.1@sha256:f1378abd34fccb2b7b661aaf3b06394509a4f7b5bb8c2f8ad431e7eaa1cabc9c
RUN apt-get install wget xz-utils
RUN wget https://downloads.flox.dev/by-env/stable/deb/flox-1.3.11.x86_64-linux.deb
RUN dpkg -i flox-1.3.11.x86_64-linux.deb

But I’m getting this error:

Docker build failed: process “/bin/sh -c dpkg -i flox-1.3.11.x86_64-linux.deb” did not complete successfully: exit code: 1 (rid=sjrld8a3asqb8qu5b7kqobclek).

I can’t see the rest of the docker build output, so it’s hard to debug why it’s not working. On my local machine, the dockerfile builds successfully using docker build --platform linux/amd64 .

Hi @brianduff,

Thanks for reaching out and welcome to Buildkite Support Community! :wave:

We’ve received your email and responded with more detailed errors we found in the logs when building the image.

Cheers!