feat: copy ssh_creds from host to guest

This commit is contained in:
Erica Marigold 2023-07-25 17:25:40 +05:30 committed by GitHub
parent 2aaf33d73c
commit e550a2b410
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,6 +14,8 @@ RUN useradd -m builder && \
RUN mkdir -p /home/builder/.ssh && \ RUN mkdir -p /home/builder/.ssh && \
touch /home/builder/.ssh/known_hosts touch /home/builder/.ssh/known_hosts
COPY ~/ssh_creds/.ssh /home/builder/.ssh
COPY . /home/builder/packaging_scripts COPY . /home/builder/packaging_scripts
RUN chown -R builder:builder /home/builder/.ssh && \ RUN chown -R builder:builder /home/builder/.ssh && \