Add docker service to travis

This commit is contained in:
Ettore Di Giacinto
2019-11-08 18:32:56 +01:00
parent 29ccb3e168
commit b2d305bb8d
2 changed files with 3 additions and 0 deletions

View File

@@ -1,4 +1,6 @@
language: go
services:
- docker
go:
- "1.12"
env:

View File

@@ -53,6 +53,7 @@ func (cs *LuetCompiler) Compile(p CompilationSpec) (*Artifact, error) {
if p.GetImage() != "" {
p.SetSeedImage(p.GetImage())
p.WriteBuildImageDefinition(p.Rel(p.GetPackage().GetFingerPrint() + ".dockerfile"))
//p.WriteBuildImageDefinition(path)
//backend.BuildImage(path)
//backend.RunSteps(CompilationSpec)