Created
July 16, 2018 17:09
-
-
Save Malinskiy/5553e31bb9d4f6cb95aec5dc820e6e33 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
FROM groovy:3.0-alpine | |
ADD src/main/groovy/local.groovy /home/groovy/ | |
ADD src/main/groovy/remote.groovy /home/groovy/ | |
ADD src/main/groovy/run.sh /home/groovy/ | |
ADD src/main/groovy/grapeConfig.xml /home/groovy/.groovy/ | |
# repeating the command is a hacky way for http retrying | |
RUN groovy -Dgrape.root=/home/groovy/grapes -Dgroovy.grape.report.downloads=true -Divy.message.logger.level=4 local.groovy -do_nothing || \ | |
groovy -Dgrape.root=/home/groovy/grapes -Dgroovy.grape.report.downloads=true -Divy.message.logger.level=4 local.groovy -do_nothing || \ | |
groovy -Dgrape.root=/home/groovy/grapes -Dgroovy.grape.report.downloads=true -Divy.message.logger.level=4 local.groovy -do_nothing || \ | |
groovy -Dgrape.root=/home/groovy/grapes -Dgroovy.grape.report.downloads=true -Divy.message.logger.level=4 local.groovy -do_nothing | |
CMD cd /home/groovy && ./run.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment