Skip to content

Instantly share code, notes, and snippets.

@jonathanlking
Created April 23, 2018 11:31
Show Gist options
  • Save jonathanlking/086b3a0030de15170c0896460132ea07 to your computer and use it in GitHub Desktop.
Save jonathanlking/086b3a0030de15170c0896460132ea07 to your computer and use it in GitHub Desktop.
Dockerfile for Scribble (Java)
# To build: docker build -t scribble-server .
# To run: docker run -it scribble-server
FROM maven:latest
RUN git clone https://github.com/scribble/scribble-java.git \
&& cd scribble-java \
&& mvn install -Dlicense.skip=true \
&& mv scribble-dist/target/scribble-dist* /
RUN unzip scribble-dist*
RUN cp scribble-java/scribble-core/src/test/scrib/tmp/Test.scr .
RUN chmod 755 scribblec.sh
RUN apt-get update && apt-get install vim tree less -y
ENTRYPOINT ["/bin/bash"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment