Skip to content

Instantly share code, notes, and snippets.

@vierbergenlars
Last active October 25, 2018 07:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vierbergenlars/63abe9ce0d46387360790bf8e39f5b42 to your computer and use it in GitHub Desktop.
Save vierbergenlars/63abe9ce0d46387360790bf8e39f5b42 to your computer and use it in GitHub Desktop.
plugins {
id 'eu.xenit.docker-alfresco' version '4.0.2'
}
repositories {
mavenCentral()
jcenter()
maven {
url "https://artifacts.alfresco.com/nexus/content/groups/public/"
}
}
dependencies {
baseAlfrescoWar "org.alfresco:content-services-community:6.0.a@war"
alfrescoAmp "de.fmaul:javascript-console-repo:0.6@amp"
baseShareWar "org.alfresco:share:6.0.c@war"
shareAmp "de.fmaul:javascript-console-share:0.6@amp"
}
dockerAlfresco {
// Base image used in the FROM of the docker build. Should be a compatible image.
baseImage = "tomcat:7-jre8"
dockerBuild {
// Repository to publish on. On Jenkins, branches other than master will be appended with -branch.
// Local build will be appended with -local
repository = 'applyamps-example'
tags = ['some', 'useful', 'tags']
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment