Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

part of docker containers should run with non root user #136

Merged
merged 4 commits into from
May 28, 2021

Conversation

gloovers
Copy link
Contributor

@gloovers gloovers commented Apr 8, 2021

Description

part of containers should run with non-root user

Tests

covered within unit-tests

@@ -44,7 +57,6 @@ terraform.debug:
terraform.init: gomplate terraform
@ \
cd $(ENV_DIR) && \
mkdir -p $(ENV_DIR)/.terraform && \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gloovers please check with @kobrikx because this line was added to avoid issues OR using current user approach fixed that issue?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should remove this row since running terraform container with non-root user create .terraform folder with correct permission
@kobrikx ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like this should be safe to remove

Copy link
Contributor

@AutomationD AutomationD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! In the future it would be great to produce junit.xml compatible file and publish tests to github.

@github-actions
Copy link

github-actions bot commented May 17, 2021

Unit Test Results

1 files  ±0  1 suites  ±0   35s ⏱️ ±0s
9 tests ±0  9 ✔️ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit dd4a6d6. ± Comparison against base commit dd4a6d6.

♻️ This comment has been updated with latest results.

@gloovers gloovers requested review from AutomationD and igorkotof May 17, 2021 19:57
Copy link
Contributor

@igorkotof igorkotof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Works fine for me

@gloovers gloovers merged commit dd4a6d6 into master May 28, 2021
@gloovers gloovers deleted the feature/docker-nonroot branch May 28, 2021 15:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants