Thanks to visit codestin.com
Credit goes to github.com

Skip to content

showcase upgrade golden files does not run out of box for local dev #3811

@zhumin8

Description

@zhumin8

When attempting to update golden files according to readme for #3810:

mvn compile -P update

Does not work for my local development out of box:

  1. docker build and run. Run docker command without "sudo" is discouraged (go/installdocker#sudoless-docker )
    DOCKER_BUILDKIT=1 docker build --file .cloudbuild/library_generation/library_generation.Dockerfile --iidfile image-id .

  2. COPY step in Dockerfile. These two lines gives me "COPY failed: no source files were specified". I was able to get pass errors and successfully update files by removing these two lines. Though I am not familiar with it to determine if they are truely redundant?
    COPY --from=glibc-compat /etc/libgcc* /etc/

    COPY --from=glibc-compat /lib/libucontext* /lib/

my local docker version:
Docker version 20.10.21

Need more context to determine if need fix to these, or updates in readme are sufficient.

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: p3Desirable enhancement or fix. May not be included in next release.type: docsImprovement to the documentation for an API.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions