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

build(standalone): Add DGRAPH_VERSION to build different Dgraph versions for standalone image. #6238

Merged
merged 1 commit into from
Aug 18, 2020

Conversation

danielmai
Copy link
Contributor

@danielmai danielmai commented Aug 18, 2020

PR for release/v20.03. Cherry-pick of #6082.


This change is Reviewable

Docs Preview: Dgraph Preview

…ons for standalone image. (#6082)

The standalone images build from the same tags as the `dgraph/dgraph` image.

To build and push the v20.03.4 and latest `dgraph/standalone` images:

    # Build v20.03.4
    make DGRAPH_VERSION=v20.03.4
    make DGRAPH_VERSION=v20.03.4 push

    # Build latest. DGRAPH_VERSION defaults to latest
    make
    make push

Changes
* Add `DOCKER_IMAGE` and `DGRAPH_VERSION` arguments to build standalone Docker image.
* Add ./hooks folder for Docker Hub auto-builds with `--build-arg`s (following [Custom build phase hooks](https://docs.docker.com/docker-hub/builds/advanced/#custom-build-phase-hooks) docs).
@danielmai danielmai requested review from manishrjain and a team as code owners August 18, 2020 21:58
@parasssh parasssh merged commit fdc484b into release/v20.03 Aug 18, 2020
@parasssh parasssh deleted the danielmai/v20.03-standalone branch August 18, 2020 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants