-
ADD https://some.url/file.proto /protobuf/test.proto
RUN <<EOF
wget https://some.url/file.proto -P /protobuf/
EOF Then inside the container: ls -l /protobuf/
total 16
-rw-r--r-- 1 root root 4951 Jun 27 2023 file.proto
-rw------- 1 root root 4951 Jun 27 2023 test.proto Notice how Why is this? |
Beta Was this translation helpful? Give feedback.
Answered by
dvdksn
Jun 13, 2024
Replies: 1 comment 2 replies
-
Hi, this is expected for
|
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
tonistiigi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, this is expected for
ADD
with remote files. From the documentation:https://docs.docker.com/reference/dockerfile/#add