skip to Main Content

SSH key in dockerfile invalid format

i have this dockerfile: FROM openjdk:11 COPY . . RUN apt-get update -y RUN apt-get install -y python RUN mkdir -p /root/.ssh && chmod 0700 /root/.ssh && ssh-keyscan gitlab.com > /root/.ssh/known_hosts ARG SSH_KEY=autofilled RUN echo $SSH_KEY | python -c "key…

VIEW QUESTION
Back To Top
Search