post-processor/compress: style
This commit is contained in:
parent
b5f9528738
commit
b2255751a1
|
@ -8,6 +8,7 @@ BACKWARDS INCOMPATIBILITIES:
|
|||
|
||||
FEATURES:
|
||||
|
||||
* **New Post-Processor: `compress`** - Gzip compresses artifacts with files.
|
||||
* **New Post-Processor: `docker-save`** - Save an image. This is similar to
|
||||
export, but preserves the image hierarchy.
|
||||
* **New Post-Processor: `docker-tag`** - Tag a created image.
|
||||
|
|
|
@ -5,7 +5,7 @@ import (
|
|||
"os"
|
||||
)
|
||||
|
||||
const BuilderId = "johnbellone.compress"
|
||||
const BuilderId = "packer.post-processor.compress"
|
||||
|
||||
type Artifact struct {
|
||||
Path string
|
||||
|
|
|
@ -4,10 +4,11 @@ import (
|
|||
"archive/tar"
|
||||
"compress/gzip"
|
||||
"fmt"
|
||||
"github.com/mitchellh/packer/common"
|
||||
"github.com/mitchellh/packer/packer"
|
||||
"io"
|
||||
"os"
|
||||
|
||||
"github.com/mitchellh/packer/common"
|
||||
"github.com/mitchellh/packer/packer"
|
||||
)
|
||||
|
||||
type Config struct {
|
||||
|
|
Loading…
Reference in New Issue