Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a Dockerfile that adds a non-root user to alpine/git base #408

Merged
merged 1 commit into from Jun 5, 2020
Merged

Add a Dockerfile that adds a non-root user to alpine/git base #408

merged 1 commit into from Jun 5, 2020

Commits on Jun 5, 2020

  1. Add a Dockerfile that adds a non-root user to alpine/git base

    In order to test Pipelines credentials in environments without
    root users (i.e. in openshift clusters, or other more locked-down
    envs) we need a container image that has a non-root user along
    with a tool to exercise the credentials.
    
    This commit adds an alpine-git-nonroot image to our plumbing repo
    for use in testing credentials in non-root environments. It uses
    alpine/git as its base and then adds a user called nonroot with
    UID 1000 to it. This image's first intended use is as a Step in
    an example TaskRun that will test creds-init credentials with
    non-root securityContext. That PR is ongoing here:
    tektoncd/pipeline#2671
    Scott committed Jun 5, 2020
    Configuration menu
    Copy the full SHA
    b34cb4f View commit details
    Browse the repository at this point in the history