Move entrypoint build test to integration-cli

Docker-DCO-1.1-Signed-off-by: Alexandr Morozov <lk4d4math@gmail.com> (github: LK4D4)
This commit is contained in:
Alexandr Morozov
2014-05-27 08:36:38 +04:00
committed by Alexandr Morozov
parent 81d1641139
commit b25a9b7138
2 changed files with 14 additions and 16 deletions
+14
View File
@@ -540,6 +540,20 @@ func TestBuildExpose(t *testing.T) {
logDone("build - expose")
}
func TestBuildEntrypoint(t *testing.T) {
checkSimpleBuild(t,
`
FROM scratch
ENTRYPOINT ["/bin/echo"]
`,
"testbuildimg",
"{{json .config.Entrypoint}}",
`["/bin/echo"]`)
deleteImages("testbuildimg")
logDone("build - entrypoint")
}
// TODO: TestCaching
// TODO: TestADDCacheInvalidation