Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dgraph
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
dgraph
Commits
5c7bd11d
Unverified
Commit
5c7bd11d
authored
8 years ago
by
Pawan Rawal
Browse files
Options
Downloads
Patches
Plain Diff
Remove develop dockerfile
parent
2b19ea70
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docker/devel/Dockerfile
+0
-54
0 additions, 54 deletions
docker/devel/Dockerfile
with
0 additions
and
54 deletions
docker/devel/Dockerfile
deleted
100644 → 0
+
0
−
54
View file @
2b19ea70
# Dockerfile for Dgraph
# For your convenience:
# docker build -t dgraph/devel .
# docker run -it dgraph/devel bash
FROM
golang:1.7
MAINTAINER
Dgraph Labs <contact@dgraph.io>
# Get the necessary packages.
RUN
apt-get update
&&
apt-get
install
-y
--no-install-recommends
\
wget
\
git
\
libbz2-dev
\
libgflags-dev
\
libsnappy-dev
\
zlib1g-dev
\
&&
rm
-rf
/var/lib/apt/lists/
*
# Install and set up RocksDB.
RUN
mkdir
/installs
&&
cd
/installs
&&
\
git clone
--branch
v4.9 https://github.com/facebook/rocksdb.git
RUN
cd
/installs/rocksdb
&&
\
make shared_lib
&&
\
make
install
# Install and set up ICU.
RUN
cd
/installs
&&
\
wget http://download.icu-project.org/files/icu4c/57.1/icu4c-57_1-src.tgz
&&
\
tar
xvzf icu4c-57_1-src.tgz
RUN
cd
/installs/icu/source
&&
\
./configure
--disable-renaming
&&
\
make
&&
\
make
install
ENV
LD_LIBRARY_PATH "/usr/local/lib"
# Install Dgraph and update dependencies to right versions.
# NOTE: Add -d to avoid building everything, which would include cockroachDB
# stuff which we only need for embedding, and can take a long time and
# potentially crash the build.
RUN
go get
-v
-d
github.com/dgraph-io/dgraph/...
&&
\
go build
-v
github.com/dgraph-io/dgraph/cmd/...
&&
\
go
install
-v
github.com/dgraph-io/dgraph/cmd/...
# TODO: Uncomment and enable tests after they pass.
# RUN go test github.com/dgraph-io/dgraph/...
# Mainly test out RocksDB and ICU.
# RUN go test github.com/dgraph-io/dgraph/tok/...
# Create the dgraph and data directory. These directories should be mapped
# to host machine for persistence.
RUN
mkdir
/dgraph
&&
mkdir
/data
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment