Skip to content

Commit

Permalink
Add Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ipf committed Apr 29, 2021
1 parent cd3ec90 commit 2fc5952
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.gradle
.idea
build/
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@ docker.env
data
bin
build
environment.sh
environment.sh
.gradle
.idea
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM gradle:6.8

COPY . /home/gradle/

RUN pwd && gradle clean && gradle build
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ allprojects {
repositories {
mavenCentral()
maven {
url 'https://repo.boundlessgeo.com/main/'
url 'https://maven.restlet.talend.com/'
}
}
apply plugin: 'java'

dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
testCompile group: 'org.hamcrest', name: 'hamcrest-all', version: '1.3'
Expand All @@ -18,4 +18,4 @@ allprojects {
}

defaultTasks "clean", "build"
}
}

0 comments on commit 2fc5952

Please sign in to comment.