Skip to content
This repository has been archived by the owner on Mar 4, 2022. It is now read-only.

Fix docker image file modes #526

Closed
wants to merge 2 commits into from
Closed

Conversation

jensl
Copy link

@jensl jensl commented Nov 19, 2019

Make files in /usr/include/google/protobuf world readable in the docker image.

Also update gRPC and Protobuf versions that are installed, to fix the docker image build.

@CLAassistant
Copy link

CLAassistant commented Nov 19, 2019

CLA assistant check
All committers have signed the CLA.

@smaye81
Copy link
Contributor

smaye81 commented Mar 10, 2020

Thank for being patient on this. If you are still interested in this PR, can you rebase dev and update?

Before this, these files had file mode 0640. This meant that running the
image with e.g. `docker run -u $(id -u):$(id -g) uber/prototool ...` would
typically fail, since the files would be inaccessible.
@jensl jensl force-pushed the fix-docker-image-file-modes branch from d11fb0b to 5f1fae0 Compare March 10, 2020 11:04
@jensl
Copy link
Author

jensl commented Mar 10, 2020

PR rebased onto current dev.

@smaye81 smaye81 added the 1.10 Issue will be released with v1.10 label Mar 10, 2020
@smaye81
Copy link
Contributor

smaye81 commented Mar 10, 2020

Can you run make dockerall just to verify all works correctly (once making the version changes suggested)?

check_env GRPC_GATEWAY_VERSION 1.8.5
check_env GRPC_WEB_VERSION 1.0.4
check_env PROTOBUF_VERSION 3.6.1
check_env PROTOBUF_VERSION 3.10.1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you bump this to 3.11.2

check_env TWIRP_VERSION 5.7.0
check_env YARPC_VERSION 1.37.3
check_env PROTOTOOL_PROTOC_BIN_PATH /usr/bin/protoc
check_env PROTOTOOL_PROTOC_WKT_PATH /usr/include
check_command_output "libprotoc 3.6.1" protoc --version
check_command_output "libprotoc 3.10.1" protoc --version
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will probably also need changed

@smaye81
Copy link
Contributor

smaye81 commented Mar 17, 2020

FYI, if you rebase, you should get all the latest dependency updates from the dev branch.

@smaye81
Copy link
Contributor

smaye81 commented Mar 28, 2020

Ping on this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
1.10 Issue will be released with v1.10
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants