Class CompressedDirectory

java.lang.Object
com.spotify.docker.client.CompressedDirectory
All Implemented Interfaces:
Closeable, AutoCloseable

class CompressedDirectory extends Object implements Closeable
This helper class is used during the docker build command to create a gzip tarball of a directory containing a Dockerfile.
  • Field Details

    • log

      private static final org.slf4j.Logger log
    • DEFAULT_FILE_MODE

      private static final int DEFAULT_FILE_MODE
      Default mode to be applied to tar file entries if detailed Posix-compliant mode cannot be obtained.
      See Also:
    • POSIX_FILE_VIEW

      private static final String POSIX_FILE_VIEW
      Identifier used to indicate the OS supports a Posix compliant view of the file system.
      See Also:
    • file

      private final Path file
  • Constructor Details

    • CompressedDirectory

      private CompressedDirectory(Path file)
  • Method Details