Open dkegel-fastly opened 1 year ago
https://github.com/jesuscmartinez/docker-firing-range has a Dockerfile that works, but only up to commit https://github.com/google/firing-range/commit/c7033adbd15551fc10c1041b5a29d41ccca55cc9.
I adapted it to use the build context's copy of firing-range:
FROM ubuntu:trusty RUN apt-get update \ && apt-get install -y -qq wget unzip ant git openjdk-7-jdk \ && apt-get clean RUN wget https://storage.googleapis.com/appengine-sdks/featured/appengine-java-sdk-1.9.24.zip \ && unzip appengine-java-sdk-1.9.24.zip \ && rm appengine-java-sdk-1.9.24.zip WORKDIR appengine-java-sdk-1.9.24/demos/firing-range COPY build.xml build.xml COPY src src COPY WEB-INF WEB-INF EXPOSE 8080 CMD ["sh", "-c", "ant -Daddress=0.0.0.0 runserver && while true; do sleep 10000; done"]
The next commit, https://github.com/google/firing-range/commit/fe45c389a9b58ec46bac0f305f6217f0ac838dd8, ported firing-range to java 8, and I couldn't figure out how to get firing-range working with that in Docker. My experience with Java predates ant... and I'm allergic to xml :-)
https://github.com/jesuscmartinez/docker-firing-range has a Dockerfile that works, but only up to commit https://github.com/google/firing-range/commit/c7033adbd15551fc10c1041b5a29d41ccca55cc9.
I adapted it to use the build context's copy of firing-range:
The next commit, https://github.com/google/firing-range/commit/fe45c389a9b58ec46bac0f305f6217f0ac838dd8, ported firing-range to java 8, and I couldn't figure out how to get firing-range working with that in Docker. My experience with Java predates ant... and I'm allergic to xml :-)