Skip to content

Commit

Permalink
feat: deprecated lagoon_cli.key and remove from Node 22
Browse files Browse the repository at this point in the history
  • Loading branch information
rocketeerbkw committed Apr 30, 2024
1 parent 1068b8d commit d92cb1b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions images/node-cli/22.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ RUN fix-permissions /etc/my.cnf.d/

# SSH Key and Agent Setup
COPY ssh_config /etc/ssh/ssh_config
COPY id_ed25519_lagoon_cli.key /home/.ssh/lagoon_cli.key
RUN chmod 400 /home/.ssh/lagoon_cli.key
RUN sed -i '/# Deprecated: lagoon_cli.key/,+2d' /etc/ssh/ssh_config
ENV SSH_AUTH_SOCK=/tmp/ssh-agent

ENTRYPOINT ["/sbin/tini", "--", "/lagoon/entrypoints.sh"]
Expand Down
1 change: 1 addition & 0 deletions images/node-cli/ssh_config
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ Host *
ServerAliveInterval 60
ServerAliveCountMax 1440

# Deprecated: lagoon_cli.key
Match localuser root
IdentityFile /home/.ssh/lagoon_cli.key
1 change: 1 addition & 0 deletions images/php-cli/ssh_config
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ Host *
ServerAliveInterval 60
ServerAliveCountMax 1440

# Deprecated: lagoon_cli.key
Match localuser root
IdentityFile /home/.ssh/lagoon_cli.key

0 comments on commit d92cb1b

Please sign in to comment.