Last active
October 28, 2016 22:58
-
-
Save hlship/3459c4d53cc92ae78a27ffb015848338 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(deftask base-image | |
"Builds the base image for other images." | |
[] | |
(comp (init :dir (io/file "base") :from "anapsix/alpine-java:8") | |
(add :file ["launch.sh"]) | |
(artifact :dependency '[[org.bouncycastle/bcprov-jdk15on "1.54"]] :target "/opt/jdk/jre/lib/ext/") | |
(artifact :dependency '[[com.walmartlabs/timestamper "0.1.2"]] :target "/usr/local/java-agents/") | |
(inst :section :postamble :inst :run :arguments ["chmod a+x launch.sh"]) | |
(build-image :image-name "base" :version default-base-version))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment