Refactor docker compose so default launches everything

This commit is contained in:
Dave Syer
2015-12-15 09:44:11 +00:00
parent 327bb46e90
commit 28dbb0cd14
16 changed files with 250 additions and 61 deletions

View File

@@ -0,0 +1,12 @@
FROM springio/java8
RUN chmod 777 -R /tmp
VOLUME /tmp
VOLUME /app
EXPOSE 9411 8000
RUN groupadd -g 1000 spring
RUN useradd -u 1000 -g 1000 -ms /bin/bash spring
VOLUME /home/spring
ENV HOME /home/spring
USER spring
WORKDIR /app/spring-cloud-sleuth-samples/spring-cloud-sleuth-sample-zipkin-stream
CMD ["../../mvnw", "spring-boot:run"]