Skip to content

Commit

Permalink
fix(superchain): bad permissions on ~/.ssh/config (#1139)
Browse files Browse the repository at this point in the history
`/root/.ssh/config` must have the correct permissions or otherwise certain operations such as `git clone` will fail in certain environments.

Fixes #1138
  • Loading branch information
Elad Ben-Israel authored and mergify[bot] committed Dec 18, 2019
1 parent 5389def commit eda462d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions superchain/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ RUN curl -sSL https://dl.yarnpkg.com/rpm/yarn.repo | tee /etc/yum.repos.d/yarn.r

# Install some configuration
COPY ssh_config /root/.ssh/config
RUN chmod 600 /root/.ssh/config
COPY dockerd-entrypoint.sh /usr/local/bin/
ENV CHARSET=UTF-8 \
LC_ALL=C.UTF-8
Expand Down

0 comments on commit eda462d

Please sign in to comment.