Skip to content

Commit

Permalink
Update test-project-docker for #978
Browse files Browse the repository at this point in the history
  • Loading branch information
muuki88 committed May 28, 2017
1 parent d3198bb commit 745a1b8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
5 changes: 3 additions & 2 deletions test-project-docker/build.sbt
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
enablePlugins(JavaAppPackaging, DockerSpotifyClientPlugin)
enablePlugins(JavaAppPackaging, AshScriptPlugin)

name := "docker-test"

version := "0.1.0"

maintainer := "Gary Coady <gary@lyranthe.org>"
dockerBaseImage := "openjdk:8-jre-alpine"
dockerUpdateLatest := true
4 changes: 4 additions & 0 deletions test-project-docker/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# docker-compose for testing the docker image build
services:
fooservice:
image: docker-test:latest
2 changes: 1 addition & 1 deletion test-project-docker/project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=0.13.7
sbt.version=0.13.15
5 changes: 0 additions & 5 deletions test-project-docker/src/main/scala/Main.scala
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,4 @@ import scala.util._

object Main extends App {
println("Hello world")

val path = Paths get "/data/test01"
val result = Try(Files createFile path)

println(result)
}

0 comments on commit 745a1b8

Please sign in to comment.