Last active
August 24, 2017 11:08
-
-
Save sjudeng/0c6be52c4a6be5dade6c403a40537e2a to your computer and use it in GitHub Desktop.
Dockerfile with CentOS 7 for JanusGraph testing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
janusgraph-test: | |
build: . | |
volumes: | |
- ../janusgraph:/opt/janusgraph | |
- ../.m2:/home/test/.m2 | |
ulimits: | |
nproc: 10000 | |
nofile: | |
soft: 20000 | |
hard: 40000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM centos:7 | |
RUN yum -y update && \ | |
yum install -y java-1.8.0-openjdk-devel maven git && \ | |
yum clean all && \ | |
useradd test | |
WORKDIR /opt/janusgraph |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment