Skip to content

add SSH KEY option 2 not working #240

@Phillip85

Description

@Phillip85

Hi,

I am trying to use the "thecodingmachine/php:8.0-v4-apache-node14" image.
When I add an SSH-KEY like written in the docs (option 2) I get the following error:

Step 6/12 : FROM thecodingmachine/php:8.0-v4-apache-node14
 ---> 641d946688e4
Step 7/12 : RUN echo "$SSH_KNOWN_HOSTS" >> ~/.ssh/known_hosts
 ---> Running in 8a2f06c11e5a
Removing intermediate container 8a2f06c11e5a
 ---> d52a82980f21
Step 8/12 : RUN ssh-add <(echo "$SSH_PRIVATE_KEY")
 ---> Running in d656770df795
/bin/sh: 1: Syntax error: "(" unexpected

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstaleIssues inactives for a while (automatically)

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions