Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terraform runner container is running with root privilege #31

Open
IbraheemAlSaady opened this issue Jul 21, 2022 · 0 comments
Open

Terraform runner container is running with root privilege #31

IbraheemAlSaady opened this issue Jul 21, 2022 · 0 comments

Comments

@IbraheemAlSaady
Copy link
Contributor

The terraform runner Dockerfile does not have user set. Check here

The reason for that decision came when support for private SSH keys was introduced as there were issues adding the SSH key with the ssh-agent command. (Ref)

We need to investigate how to make this work while the container is running in a non-root user

Versions

  • Runner: 0.4.0
@IbraheemAlSaady IbraheemAlSaady changed the title Terraform runner Dockerfile is running with root privilege Terraform runner container is running with root privilege Jul 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant