0

Is there anyway to have docker create output the evaluated line?

for example

# Dockerfile
COPY ${SRC}/file .

will echo Step 1/1 COPY ${SRC}/file .

I want it to output instead Step 1/1 COPY src/file .

Edit: I'm open to other packers that are somewhat compatible with Docker files, such as buildah bud

2 Answers 2

1

Open an issue with Buildah, and I think this would be a reasonable change.

Sign up to request clarification or add additional context in comments.

Comments

0

You could try listing the contents of the directory by using ls in the next step.

1 Comment

that only solves the example. it might be something like RUN java ${JAVA_OPTS} -jar app.jar for example.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.