-
Notifications
You must be signed in to change notification settings - Fork 436
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #424 from huntc/docker-stage
Docker mappings - incomplete?
- Loading branch information
Showing
10 changed files
with
49 additions
and
36 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Stage the distribution and ensure files show up. | ||
> docker:stage | ||
$ exists target/docker/Dockerfile | ||
$ exists target/docker/files | ||
$ exists target/docker/stage/Dockerfile | ||
$ exists target/docker/stage/opt |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Generate the Docker image locally | ||
> docker:publishLocal | ||
$ exists target/docker/Dockerfile | ||
$ exists target/docker/files/opt/docker/bin/docker-exec | ||
$ exists target/docker/stage/Dockerfile | ||
$ exists target/docker/stage/opt/docker/bin/docker-exec | ||
> check-dockerfile | ||
$ exec bash -c 'docker run docker-package:0.1.0 | grep -q "Hello world"' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Generate the Docker image locally | ||
> docker:publishLocal | ||
$ exists target/docker/Dockerfile | ||
$ exists target/docker/files/opt/docker/bin/docker-test | ||
$ exists target/docker/stage/Dockerfile | ||
$ exists target/docker/stage/opt/docker/bin/docker-test | ||
> check-dockerfile | ||
$ exec bash -c 'docker run docker-package:0.1.0 | grep -q "Hello world"' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Generate the Docker image locally | ||
> docker:publishLocal | ||
$ exists target/docker/Dockerfile | ||
$ exists target/docker/files/opt/docker/bin/docker-test | ||
$ exists target/docker/stage/Dockerfile | ||
$ exists target/docker/stage/opt/docker/bin/docker-test | ||
> check-dockerfile | ||
$ exec bash -c 'docker run docker-package:0.1.0 | grep -q "Hello world"' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
enablePlugins(JavaAppPackaging) | ||
|
||
name := "docker-test" | ||
|
||
version := "0.1.0" | ||
|
||
maintainer := "Gary Coady <gary@lyranthe.org>" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
sbt.version=0.13.7 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
lazy val root = Project("plugins", file(".")).dependsOn(plugin) | ||
|
||
lazy val plugin = file("../").getCanonicalFile.toURI |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
object Main extends App { | ||
println("Hello world") | ||
} |