5 ms·
RUN --mount=source=my_script.sh,target=/tmp/script.sh /tmp/script.sh This will adds the script without adding a layer for it.
by cpuguy83 6y ago
RUN --mount=source=my_script.sh,target=/tmp/script.sh /tmp/script.sh
This will adds the script without adding a layer for it.