File size: 683 Bytes
84968aa 06e9d12 84968aa 06e9d12 84968aa 7c2f064 84968aa 667eb29 84968aa |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
FROM ubuntu:22.04
# This is a test Dockerfile to see if it's actually being used
RUN echo "TESTING IF THIS DOCKERFILE IS ACTUALLY USED" > /test_file.txt && \
echo "If you see this message, the correct Dockerfile is being used!" && \
cat /test_file.txt
# Create a very obvious test directory
RUN mkdir -p /THIS_IS_A_TEST_DIRECTORY && \
echo "TEST CONTENT" > /THIS_IS_A_TEST_DIRECTORY/test.txt
# Print test message during build
RUN echo "=================================================" && \
echo "THIS IS A TEST BUILD - IF YOU SEE THIS, THE DOCKERFILE IS BEING USED" && \
echo "================================================="
CMD ["cat", "/test_file.txt"] |