If I have a super-dumb dockerfile, like this:
FROM ubuntu:latest ENTRYPOINT echo Is it possible to pass arguments to the ENTRYPOINT, so that it will print whatever argument I pass? I tried docker build -t test . && docker run test foo but I just got an empty line.
ENTRYPOINTline should allow you to make use of an env var.docker run --entrypoint="<your new entrypoint>". Here's the documentation from Docker.