Category : warnings

I have this Dockerfile snippet: FROM alpine/git:v2.26.2 as intermediate ARG SSH_PRIVATE_KEY RUN mkdir /root/.ssh/ && chmod 755 /root/.ssh RUN echo "${SSH_PRIVATE_KEY}" > /root/.ssh/id_ed25519 && chmod 600 /root/.ssh/id_ed25519 It is run using this command: docker build –build-arg SSH_PRIVATE_KEY="$(cat ~/.ssh/id_ed25519_runbot)" –tag org/name . I also checked this question Docker, one or more build-args where not consumed So ..

Read more