https://github.com/micnncim/docker-grpc-gateway
Dockerfile for grpc-gateway and golang
https://github.com/micnncim/docker-grpc-gateway
Last synced: 4 months ago
JSON representation
Dockerfile for grpc-gateway and golang
- Host: GitHub
- URL: https://github.com/micnncim/docker-grpc-gateway
- Owner: micnncim
- License: mit
- Created: 2018-12-27T05:10:58.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-29T06:04:38.000Z (over 6 years ago)
- Last Synced: 2025-01-04T23:26:56.842Z (6 months ago)
- Language: Dockerfile
- Homepage:
- Size: 7.81 KB
- Stars: 9
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-grpc-gateway
Dockerfile for [grpc-gateway](https://github.com/grpc-ecosystem/grpc-gateway) and golang.
## Note
[golang/protobuf](https://github.com/golang/protobuf) has an issue: [#763](https://github.com/golang/protobuf/issues/763).
Until the issue fixed, use [`downgrade-proto`](https://github.com/micnncim/docker-grpc-gateway/tree/downgrade-proto) branch.## Setup
1. Replace repository owner and name.
e.g.)
```sh
$ sed -i -e 's/micnncim//g' -e 's/docker-grpc-gateway//g' Dockerfile
```2. Set your Dockerfile ENV: `PROTO_FILES` `PROTO_GO_OUT`
default:
```
ENV PROTO_FILES=./proto/*.proto \
PROTO_GO_OUT=./src
```## LICENSE
[MIT](./LICENSE)