Hi, I have an issue with remote builders.
I’m trying to build a dockerfile with so-called heredocs, it works locally but not on builders. No Idea how to proceed further.
My dockerfile looks like this:
// some stuff here
RUN <<EOF
echo $0
mkdir /opt/maven
EOF
// some stuff here
Error I get:
Error: failed to fetch an image or build from source: error building: failed to solve: failed to solve with frontend dockerfile.v0: failed to create LLB definition: dockerfile parse error line 16: unknown instruction: ECHO
Command I run locally:
docker buildx build --platform linux/amd64 -t image-name:latest -f Dockerfile.native.build .
Considering this topic, fly should support buildx.