Skip to content

Commit

Permalink
fix Dockerfile, add missing deps to glide
Browse files Browse the repository at this point in the history
  • Loading branch information
dennwc committed Dec 24, 2017
1 parent 8aebfe9 commit 02a5d94
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:latest as builder
FROM golang:1.9 as builder

# Set up workdir
WORKDIR /go/src/github.com/cayleygraph/cayley
Expand All @@ -11,7 +11,7 @@ RUN glide install
# This will be used to init cayley and as config file in the final image.
# Make sure you start every path with %PREFIX% to make it available in both
# the builder image and the final image.
RUN echo '{"store":{"backend":"bolt2","address":"%PREFIX%/data/cayley.db"}}' > config.json
RUN echo '{"store":{"backend":"bolt","address":"%PREFIX%/data/cayley.db"}}' > config.json

# Create filesystem for minimal image
RUN mkdir -p /fs/assets
Expand Down
1 change: 1 addition & 0 deletions docs/Quickstart-As-Application.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
This guide will take you through starting a persistent graph based on the provided data, with some hints for each backend.

Grab the latest [release binary](http://github.com/cayleygraph/cayley/releases) and extract it wherever you like.
If you have Docker installed you can check [guide](Container.md) for running Cayley in container.

If you prefer to build from source, see [Contributing.md](Contributing.md) which has instructions.

Expand Down
4 changes: 4 additions & 0 deletions glide.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions glide.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,4 @@ import:
- package: github.com/go-sql-driver/mysql
- package: github.com/dennwc/graphql
- package: github.com/tylertreat/BoomFilters
- package: gopkg.in/olivere/elastic.v5

0 comments on commit 02a5d94

Please sign in to comment.