Skip to content

Instantly share code, notes, and snippets.

@sjudeng
Last active August 24, 2017 11:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sjudeng/0c6be52c4a6be5dade6c403a40537e2a to your computer and use it in GitHub Desktop.
Save sjudeng/0c6be52c4a6be5dade6c403a40537e2a to your computer and use it in GitHub Desktop.
Dockerfile with CentOS 7 for JanusGraph testing
version: '2'
services:
janusgraph-test:
build: .
volumes:
- ../janusgraph:/opt/janusgraph
- ../.m2:/home/test/.m2
ulimits:
nproc: 10000
nofile:
soft: 20000
hard: 40000
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