Skip to content

Add a rule for generating passwd files. - #30

Merged
mattmoor merged 1 commit into
bazelbuild:masterfrom
dlorenc:passwd
May 14, 2017
Merged

Add a rule for generating passwd files.#30
mattmoor merged 1 commit into
bazelbuild:masterfrom
dlorenc:passwd

Conversation

@dlorenc

@dlorenc dlorenc commented May 13, 2017

Copy link
Copy Markdown
Contributor

@bazel-io

Copy link
Copy Markdown
Member

Can one of the admins verify this patch?

@mattmoor mattmoor left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'm wondering what stance we want to take wrt adding contrib rules to the README.md...

I wonder if we want to add a docker/contrib/README.md that covers those rules... I hadn't thought about this for with-tag.bzl since the signature was so similar, but perhaps we should start this.

I think we'd probably want the form:

rule_foo (file.bzl)

@damienmg @dlorenc wdyt?

Comment thread docker/build_test.sh
# specified via the tag kwarg.
check_layers "with_passwd" \
"621fe329a78d65d90d34d6dc277ccac2249bba4c8228222271418bf6b07c4dec"
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

You should add an additional check that uses get_layer_listing to check that the passwd file is in the new layer.

@mattmoor

Copy link
Copy Markdown
Contributor

test this please

@damienmg

Copy link
Copy Markdown
Contributor

I would suggest we move the documentation to use https://github.com/bazelbuild/skydoc and we generate the doc on the gh-pages. That way we would cover the contrib part too. Pulling in @davidzchen about that.

@mattmoor
mattmoor merged commit c534c7c into bazelbuild:master May 14, 2017
@dlorenc
dlorenc deleted the passwd branch May 15, 2017 15:52
sudarshang pushed a commit to sudarshang/rules_docker that referenced this pull request Sep 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants