-
Notifications
You must be signed in to change notification settings - Fork 801
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
Fix and update docker #368
Conversation
… use Cassandra 3.11; fix Readme for docker; add debug tools/log
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ShipIt after addressing comments below
docker/Dockerfile
Outdated
# Specify the cadence version to be built into this docker image | ||
# See https://github.com/uber/cadence/tags | ||
ARG build_branch | ||
RUN if [ -z "$build_branch" ]; then echo "build_branch NOT SET - ERROR"; exit 1; else : ; fi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: name the arg as git_branch
- build is redundant
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
on the error message, print the actual usage i.e. "--build-arg build_branch="
docker/README.md
Outdated
docker-compose stop | ||
docker-compose build | ||
cd $GOPATH/src/github.com/uber/cadence/docker | ||
docker build . -t ubercadence/server:master --build-arg build_branch=YOUR_CHECKOUT_BRANCH |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
replace ":master" with $git_branch
Add param to Dockerfile for build_tag;
Fix issue about RINGPOP_SEED;
Use Cassandra 3.11;
Fix Readme for docker; add debug tools/log;
Update docker-compose