actframework-base.dockerfile 614 B

123456789101112131415
  1. FROM tfb/maven-java8:latest
  2. RUN apt-get install -y unzip
  3. ADD ./ /act
  4. WORKDIR /act
  5. #
  6. # This part isn't strictly necessary. Its purpose is to download everything
  7. # actframework might need from Maven ONCE rather than repeating the downloads
  8. # for each actframework permutation.
  9. #
  10. # An even more ideal solution would be to share the .m2 directory with the host
  11. # machine across all frameworks, but this doesn't seem to be possible right now.
  12. # See: https://github.com/moby/moby/issues/14080
  13. #
  14. RUN mvn package clean -P mongo,ebean_mysql,hibernate_mysql,eclipselink_mysql,ebean_pgsql,hibernate_pgsql,eclipselink_pgsql