🔨 Remove docker user and add group-add 0
This commit is contained in:
parent
d0e648b3d5
commit
671a60164b
6
.vscode/extensions.json
vendored
6
.vscode/extensions.json
vendored
@ -1,7 +1,3 @@
|
||||
{
|
||||
"recommendations": [
|
||||
"redhat.ansible",
|
||||
"dhoeric.ansible-vault",
|
||||
"esbenp.prettier-vscode"
|
||||
]
|
||||
"recommendations": ["redhat.ansible", "esbenp.prettier-vscode"]
|
||||
}
|
||||
|
@ -10,4 +10,4 @@ renovate_github_token: ""
|
||||
renovate_log_level: info
|
||||
renovate_bot_username: renovate-bot
|
||||
renovate_webhook_secret: ""
|
||||
renovate_docker_user_group: "1000:1000"
|
||||
# renovate_docker_user_group: "1000:1000"
|
||||
|
@ -4,7 +4,6 @@ module.exports = {
|
||||
endpoint: '{{ renovate_git_endpoint }}',
|
||||
token: '{{ renovate_git_token }}',
|
||||
platform: '{{ renovate_platform }}',
|
||||
dockerUser: "{{ renovate_docker_user_group }}",
|
||||
autodiscover: true,
|
||||
onboardingConfig: {
|
||||
extends: ['config:base'],
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker run --pull always --rm -v "/etc/renovate/config.js:/usr/src/app/config.js" -v "/var/run/docker.sock:/var/run/docker.sock" -v /tmp:/tmp -u "{{ renovate_docker_user_group }}" --env GITHUB_COM_TOKEN="{{ renovate_github_token }}" --env LOG_LEVEL={{ renovate_log_level }} {{ renovate_image_name }}:{{ renovate_image_tag }} renovate "$@"
|
||||
docker run --pull always --group-add 0 --rm -v "/etc/renovate/config.js:/usr/src/app/config.js" -v "/var/run/docker.sock:/var/run/docker.sock" -v /tmp:/tmp -u "{{ renovate_docker_user_group }}" --env GITHUB_COM_TOKEN="{{ renovate_github_token }}" --env LOG_LEVEL={{ renovate_log_level }} {{ renovate_image_name }}:{{ renovate_image_tag }} renovate "$@"
|
||||
docker image prune -f
|
Loading…
Reference in New Issue
Block a user