Skip to content

Commit

Permalink
changed ssh config path
Browse files Browse the repository at this point in the history
  • Loading branch information
g0rgamesh committed Nov 6, 2023
1 parent 9ba253a commit 2de5703
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/kayobe/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ MAINTAINER "Will Szumski" <[email protected]>
# Unclear at this time if different environments will change
# control host bootstrap.
ARG KAYOBE_ENVIRONMENT=""
ARG KAYOBE_DOCKER_SSH_CONFIG_PATH=".automation/docker/kayobe/ssh_config"
#ARG KAYOBE_DOCKER_SSH_CONFIG_PATH=".automation/docker/kayobe/ssh_config"

ENV container docker
# NOTE: systemd requires privileged container
Expand Down Expand Up @@ -70,7 +70,7 @@ RUN echo export https_proxy=$https_proxy >> $HOME/.bashrc && \
echo export http_proxy=$http_proxy >> $HOME/.bashrc

RUN mkdir /stack/.ssh && chmod 700 /stack/.ssh
COPY --chown=stack:stack $KAYOBE_DOCKER_SSH_CONFIG_PATH /stack/.ssh/config
COPY --chown=stack:stack ssh_config /stack/.ssh/config
RUN chmod 600 /stack/.ssh/config

# Copy custom binaries into image. The wildcard worksaround the check on the parent directory existing.
Expand Down

0 comments on commit 2de5703

Please sign in to comment.