-
Notifications
You must be signed in to change notification settings - Fork 18
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 #3 from ramr/start_entry_pt
Add a new entry point: Start which takes configuration
- Loading branch information
Showing
7 changed files
with
147 additions
and
43 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Dockerfile |
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,11 +1,17 @@ | ||
#!/usr/bin/env make | ||
|
||
TEST_IMAGE = "reaper/test" | ||
CONFIG_TEST_IMAGE = "reaper/config-test" | ||
|
||
all: tests | ||
|
||
test: tests | ||
|
||
tests: | ||
(go build testpid1.go; docker build -t reaper/test .; ./runtests.sh) | ||
|
||
|
||
|
||
(go build testpid1.go; \ | ||
cp docker-files/no-config/Dockerfile .; \ | ||
docker build -t $(TEST_IMAGE) .; \ | ||
./runtests.sh; \ | ||
cp docker-files/json-config/Dockerfile .; \ | ||
docker build -t $(CONFIG_TEST_IMAGE) .; \ | ||
./runtests.sh "$(CONFIG_TEST_IMAGE)" ) |
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,4 @@ | ||
{ | ||
"Pid": 0, | ||
"Options": 0 | ||
} |
File renamed without changes.
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