Skip to content

Fix fake group and passwd files for Docker - #2640

Merged
GMNGeoffrey merged 1 commit into
iree-org:mainfrom
GMNGeoffrey:passwd-mount
Jul 24, 2020
Merged

GMNGeoffrey merged 1 commit into
iree-org:mainfrom
GMNGeoffrey:passwd-mount

Conversation

@GMNGeoffrey

@GMNGeoffrey GMNGeoffrey commented Jul 23, 2020 •

Copy link
Copy Markdown
Member

I mixed up some paths here. These just happen to work right now because
/etc/group is also a valid /etc/passwd file, but that's not great. Also
I realized that getent already produces everything I need if invoked
without a specific group or user argument.

Tested:
Ran the simulate_kokoro script locally:

./build_tools/kokoro/gcp_ubuntu/simulate_kokoro.sh \
  build_tools/kokoro/gcp_ubuntu/bazel/linux/x86/core/build_kokoro.sh \
  "$PWD/.git"`

@google-cla google-cla Bot added the cla: yes label Jul 23, 2020
@GMNGeoffrey
GMNGeoffrey requested a review from antiagainst July 23, 2020 23:52
@GMNGeoffrey
GMNGeoffrey merged commit 695a90f into iree-org:main Jul 24, 2020
@GMNGeoffrey
GMNGeoffrey deleted the passwd-mount branch July 24, 2020 02:12
@GMNGeoffrey GMNGeoffrey added the infrastructure Relating to build systems, CI, or testing label Jul 24, 2020
@rsuderman rsuderman mentioned this pull request Jul 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure Relating to build systems, CI, or testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants