-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update: Run container as a non-root user (#154)
* Add yamllint config * Update npm packages * Set a security policy to run as the node user * Update docker image build for non-root * Discontinue use of npm-watch * Fix resource yaml errors * Limit volume mount permissions * Update volume mount paths
- Loading branch information
1 parent
77b631c
commit 281e70f
Showing
10 changed files
with
2,258 additions
and
2,583 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ test/ | |
kubernetes/ | ||
.env/ | ||
testdata/ | ||
.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
language: node_js | ||
node_js: | ||
- "11" | ||
- "lts/*" | ||
|
||
services: | ||
- docker | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
extends: relaxed | ||
|
||
rules: | ||
line-length: | ||
max: 180 | ||
level: warning | ||
empty-lines: | ||
max: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
{ | ||
"TRAVIS_COMMIT": "${TRAVIS_COMMIT}", | ||
"TRAVIS_TAG": "${TRAVIS_TAG}", | ||
"GIT_REMOTE": "${GIT_REMOTE}" | ||
"GIT_REMOTE": "${GIT_REMOTE}", | ||
"NODE_USER_ID": "${NODE_USER_ID}", | ||
"NODE_GROUP_ID": "${NODE_GROUP_ID}" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.