Skip to content

Commit

Permalink
Remove ssh config
Browse files Browse the repository at this point in the history
  • Loading branch information
cambel committed Oct 18, 2021
1 parent 45955c8 commit 67cf9c9
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions docker/o2ac-dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -269,22 +269,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \

################################################################################

# Install the SSH deploy key of the repository hosted on GitLab.com.

# Copy the SSH deploy key from the sources on the host to the container.
COPY ./.ssh/. /root/.ssh/
RUN chmod 700 /root/.ssh/ \
&& chmod 600 /root/.ssh/o2ac-ur-id_rsa

# Add GitLab.com as a known host using the SSH deploy key.
RUN echo "Host gitlab.com" > /root/.ssh/config \
&& echo " Hostname gitlab.com" >> /root/.ssh/config \
&& echo " IdentityFile /root/.ssh/o2ac-ur-id_rsa" >> /root/.ssh/config \
&& echo " StrictHostKeyChecking no" >> /root/.ssh/config \
&& echo " User git" >> /root/.ssh/config

################################################################################

# Install camera packages.

# librealsense2
Expand Down

0 comments on commit 67cf9c9

Please sign in to comment.