forked from LaconicNetwork/kompose
add support for golangci-lint (#1373)
This commit is contained in:
@@ -40,7 +40,6 @@ and image name and then builds the appropriate image. Tarball is utilized
|
||||
in order to make building easier.
|
||||
*/
|
||||
func (c *Build) BuildImage(source string, image string, dockerfile string, buildargs []dockerlib.BuildArg) error {
|
||||
|
||||
log.Infof("Building image '%s' from directory '%s'", image, path.Base(source))
|
||||
|
||||
// Create a temporary file for tarball image packaging
|
||||
|
||||
@@ -24,7 +24,6 @@ import (
|
||||
|
||||
// Client connects to Docker client on host
|
||||
func Client() (*docker.Client, error) {
|
||||
|
||||
var (
|
||||
err error
|
||||
client *docker.Client
|
||||
|
||||
Reference in New Issue
Block a user