Skip to content
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

Merged
merged 2 commits into from
Oct 9, 2017
Merged

Fix and update docker #368

merged 2 commits into from
Oct 9, 2017

Conversation

longquanzheng
Copy link
Collaborator

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

… use Cassandra 3.11; fix Readme for docker; add debug tools/log
@CLAassistant
Copy link

CLAassistant commented Oct 6, 2017

CLA assistant check
All committers have signed the CLA.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) to 66.395% when pulling c72c191 on longquanzheng:master into 90b11d9 on uber:master.

Copy link
Contributor

@venkat1109 venkat1109 left a 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

# 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
Copy link
Contributor

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

Copy link
Contributor

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
Copy link
Contributor

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

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) to 66.388% when pulling 915d337 on longquanzheng:master into 90b11d9 on uber:master.

@longquanzheng longquanzheng merged commit 73ffdeb into uber:master Oct 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants