Skip to content

docker: build su-exec in bazel and put in to docker #14454

Closed

Description

@lizan

Title: One line description

Description:
su-exec was introduced to drop permission in the docker entrypoint, this has been built in docker stage but it should be part of main build and monitored by dependency policy. It also causes some docker build flakiness.

cc @envoyproxy/dependency-shepherds @phlax

Activity

  1. added
    enhancement
    triage
    and removed
    enhancement
    triage
    on Dec 16, 2020
  2. github-actions commented on Jan 16, 2021

    @github-actions

    This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions.

  3. added
    stale
    on Jan 16, 2021
  4. github-actions commented on Jan 23, 2021

    @github-actions

    This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted" or "no stalebot". Thank you for your contributions.

  5. reopened this on Jan 25, 2021
  6. added
    help wanted
    and removed
    stale
    on Jan 25, 2021
  7. arkodg commented on Feb 24, 2021

    @arkodg
    Contributor

    happy to pick this up @lizan

  8. arkodg commented on Feb 24, 2021

    @arkodg
    Contributor

    can't seem to reproduce the flakiness
    here's what I did

    mkdir builder
    ENVOY_DOCKER_BUILD_DIR=builder ./ci/run_envoy_docker.sh './ci/do_ci.sh bazel.release.server_only'
    for i in {1..20}; do docker build -f ci/Dockerfile-envoy -t envoy .;docker builder prune -af; done
    
  9. lizan commented on Feb 24, 2021

    @lizan
    MemberAuthor

    The flakiness is from downloading the source from GH:
    https://github.com/envoyproxy/envoy/blob/release/v1.17/ci/Dockerfile-envoy#L8

    it may not reproducible easily in your local env though.

  10. added a commit that references this issue on Mar 5, 2021
  11. phlax commented on Mar 10, 2021

    @phlax
    Member

    @lizan @arkodg i think this ticket should be closed now - su-exec is no longer built in the docker recipe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions