Fixing output in commandline RUN example#3273
Fixing output in commandline RUN example#3273guillaumebriday wants to merge 1 commit intodocker:masterfrom
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3273 +/- ##
=======================================
Coverage 57.99% 57.99%
=======================================
Files 302 302
Lines 21764 21764
=======================================
Hits 12621 12621
Misses 8219 8219
Partials 924 924 |
thaJeztah
left a comment
There was a problem hiding this comment.
thanks for contributing! (nice catch)
I left a comment inline; could you have a look and update your PR (if you agree with my suggestion)?
When doing so, please amend the existing commit (so that there's only a single commit in the PR); let me know if you need help doing so!
| @@ -406,7 +406,6 @@ USER | |||
| $ docker run --env-file env.list ubuntu env | grep VAR | |||
There was a problem hiding this comment.
So, the intent of this example was to show the environment variables, but only the relevant ones for this example, and to exclude env-vars like $PATH or $HOSTNAME.
Perhaps instead we should change the grep command;
$ docker run --env-file env.list ubuntu env | grep -E 'VAR|USER'|
oh! It appears your commit message is missing a DCO sign-off, We require all commit messages to have a There is no need to open a new pull request, but to fix this (and make CI pass), Unfortunately, it's not possible to do so through GitHub's web UI, so this needs You can find some instructions in the output of the DCO check (which can be found Steps to do so "roughly" come down to:
Sorry for the hassle (I wish GitHub would make this a bit easier to do), and let me know if you need help or more detailed instructions! |
|
Oh! I just noticed there's a pull request that makes the changes I suggested, and I merged that one (#2976) instead. Thanks again for contributing, it's appreciated! |
Even if
USERis defined, it should not be outputted because of the grep.