FROM tinkerpop/gremlin-server:latest
USER root
RUN apk add dos2unix
WORKDIR /opt/gremlin-server
COPY path/to/gremlin-server.yaml ./COPY path/to/gremlin-graph.properties ./COPY path/to/script.groovy ./
RUN dos2unix gremlin-server.yaml gremlin-graph.properties script.groovy
USER gremlin
CMD [ "gremlin-server.yaml" ]