Container-Buildah

 view release on metacpan or  search on metacpan

Build.PL  view on Meta::CPAN

    "Cwd" => 0,
    "Data::Dumper" => 0,
    "Exporter" => 0,
    "File::Slurp" => 0,
    "File::Sync" => 0,
    "File::stat" => 0,
    "FindBin" => 0,
    "Getopt::Long" => 0,
    "IO::Handle" => 0,
    "IPC::Run" => 0,
    "Modern::Perl" => 0,
    "POSIX" => 0,
    "Readonly" => 0,
    "Template" => 0,
    "YAML::XS" => 0,
    "autodie" => 0,
    "parent" => 0,
    "perl" => "v5.20.0",
    "strict" => 0
  },
  "test_requires" => {

META.json  view on Meta::CPAN

            "Cwd" : "0",
            "Data::Dumper" : "0",
            "Exporter" : "0",
            "File::Slurp" : "0",
            "File::Sync" : "0",
            "File::stat" : "0",
            "FindBin" : "0",
            "Getopt::Long" : "0",
            "IO::Handle" : "0",
            "IPC::Run" : "0",
            "Modern::Perl" : "0",
            "POSIX" : "0",
            "Readonly" : "0",
            "Template" : "0",
            "YAML::XS" : "0",
            "autodie" : "0",
            "parent" : "0",
            "perl" : "v5.20.0",
            "strict" : "0"
         }
      },

META.yml  view on Meta::CPAN

  Cwd: '0'
  Data::Dumper: '0'
  Exporter: '0'
  File::Slurp: '0'
  File::Sync: '0'
  File::stat: '0'
  FindBin: '0'
  Getopt::Long: '0'
  IO::Handle: '0'
  IPC::Run: '0'
  Modern::Perl: '0'
  POSIX: '0'
  Readonly: '0'
  Template: '0'
  YAML::XS: '0'
  autodie: '0'
  parent: '0'
  perl: v5.20.0
  strict: '0'
resources:
  bugtracker: https://github.com/ikluft/Container-Buildah/issues

Makefile.PL  view on Meta::CPAN

    "Cwd" => 0,
    "Data::Dumper" => 0,
    "Exporter" => 0,
    "File::Slurp" => 0,
    "File::Sync" => 0,
    "File::stat" => 0,
    "FindBin" => 0,
    "Getopt::Long" => 0,
    "IO::Handle" => 0,
    "IPC::Run" => 0,
    "Modern::Perl" => 0,
    "POSIX" => 0,
    "Readonly" => 0,
    "Template" => 0,
    "YAML::XS" => 0,
    "autodie" => 0,
    "parent" => 0,
    "strict" => 0
  },
  "TEST_REQUIRES" => {
    "File::Basename" => 0,

Makefile.PL  view on Meta::CPAN

  "Exporter" => 0,
  "File::Basename" => 0,
  "File::Path" => 0,
  "File::Slurp" => 0,
  "File::Sync" => 0,
  "File::stat" => 0,
  "FindBin" => 0,
  "Getopt::Long" => 0,
  "IO::Handle" => 0,
  "IPC::Run" => 0,
  "Modern::Perl" => 0,
  "Module::Build" => "0.28",
  "POSIX" => 0,
  "Readonly" => 0,
  "Template" => 0,
  "Test::More" => 0,
  "Test::RequiresInternet" => 0,
  "YAML::XS" => 0,
  "autodie" => 0,
  "parent" => 0,
  "strict" => 0,

build/perlcritic.rc  view on Meta::CPAN

severity  = harsh
verbose = [%p] %m at line %l, column %c. %e (Severity: %s)\n
include   = RequirePodSections
color-severity-lowest = bright_blue
color-severity-low = bright_green
color-severity-medium = bright_yellow
color-severity-high = rgb530
color-severity-highest = bright_red

[TestingAndDebugging::RequireUseStrict]
equivalent_modules = Modern::Perl

[TestingAndDebugging::RequireUseWarnings]
equivalent_modules = Modern::Perl

[Documentation::RequirePodSections]
lib_sections = NAME | VERSION | SYNOPSIS | DESCRIPTION | BUGS AND LIMITATIONS | AUTHOR | COPYRIGHT AND LICENSE

[Subroutines::ProhibitExcessComplexity]
max_mccabe = 20

examples/bind9/bind9-build.pl  view on Meta::CPAN

# DESCRIPTION:
#    ISC BIND9 container - custom APK build of current BIND9 so we don't have to depend on when Alpine releases
#    an APK of the current version. This is a 2-stage build which makes the BIND9 APKs in the first stage, and
#    uses the results of that in the runtime stage without keeping the compiler & build tools from the first stage.
#    Note: this depend on updating the script to have the current BIND9 version number and sha512sum
# AUTHOR: Ian Kluft
# LICENSE: Apache License version 2

use strict;
use warnings;
use Modern::Perl qw(2018); # require security updates
use utf8;
use autodie;

use Readonly;
use Container::Buildah;

#
# configuration
#

examples/hello/hello_build.pl  view on Meta::CPAN

#!/usr/bin/perl
# ABSTRACT: hello_build.pl - test Container::Buildah building and running a binary in a container
# by Ian Kluft

## no critic (Modules::RequireExplicitPackage)
# 'use strict' and 'use warnings' included here
use Modern::Perl qw(2015); # require 5.20.0
## use critic (Modules::RequireExplicitPackage)

use autodie;
use Carp qw(croak);
use Container::Buildah;
use Readonly;
use YAML::XS;

# set paths as constants
Readonly::Scalar my $build_dir => "/opt/hello-build"; # directory for build stage to make its binaries

lib/Container/Buildah.pm  view on Meta::CPAN

# Container::Buildah
# ABSTRACT: wrapper around containers/buildah tool for multi-stage builds of OCI/Docker-compatible Linux containers
# by Ian Kluft

## no critic (Modules::RequireExplicitPackage)
# 'use strict' and 'use warnings' included here
use Modern::Perl qw(2015); # require 5.20.0
## use critic (Modules::RequireExplicitPackage)

package Container::Buildah;
$Container::Buildah::VERSION = '0.3.1';
use autodie;
use Carp qw(croak confess);
use Exporter;
use Readonly;
use Getopt::Long;
use Data::Dumper;

lib/Container/Buildah/Stage.pm  view on Meta::CPAN

# Container::Buildah::Stage
# ABSTRACT: object used by Container::Buildah to track a stage of a multi-stage container build
# by Ian Kluft

## no critic (Modules::RequireExplicitPackage)
# 'use strict' and 'use warnings' included here
use Modern::Perl qw(2015); # require 5.20.0
## use critic (Modules::RequireExplicitPackage)

package Container::Buildah::Stage;
$Container::Buildah::Stage::VERSION = '0.3.1';
use autodie;
use Carp qw(croak confess);
use Cwd;
use Readonly;
use File::stat;
use FindBin;

lib/Container/Buildah/Subcommand.pm  view on Meta::CPAN

# Container::Buildah::Subcommand
# ABSTRACT: wrapper class for Container::Buildah to run subcommands of buildah
# by Ian Kluft

## no critic (Modules::RequireExplicitPackage)
# 'use strict' and 'use warnings' included here
use Modern::Perl qw(2015); # require 5.20.0
## use critic (Modules::RequireExplicitPackage)

package Container::Buildah::Subcommand;
$Container::Buildah::Subcommand::VERSION = '0.3.1';
use autodie;
use Carp qw(croak confess);
use POSIX qw(uname);
use IPC::Run;
use Data::Dumper;
use YAML::XS;

t/test-inputs/100_hello/hello_build.pl  view on Meta::CPAN

#!/usr/bin/perl
# ABSTRACT: hello_build.pl - test Container::Buildah building and running a binary in a container
# by Ian Kluft

## no critic (Modules::RequireExplicitPackage)
# 'use strict' and 'use warnings' included here
use Modern::Perl qw(2015); # require 5.20.0
## use critic (Modules::RequireExplicitPackage)

use autodie;
use Carp qw(croak);
use Container::Buildah;
use Readonly;
use YAML::XS;

# set paths as constants
Readonly::Scalar my $build_dir => "/opt/hello-build"; # directory for build stage to make its binaries



( run in 0.565 second using v1.01-cache-2.11-cpan-a5abf4f5562 )