Sha256: b68176fd85a39a3cd92dd74c8b0d81bb53ab6d3e73c0c00c333e9c14625b78c7
Contents?: true
Size: 1.19 KB
Versions: 35
Compression:
Stored size: 1.19 KB
Contents
# frozen_string_literal: true module Takeltau # tau docker image class DockerImage < SubCommandBase include LoggingModule include SystemModule include ConfigModule include DockerCheckDaemon include DockerImageUpdate # Initialize takelage docker image def initialize(args = [], local_options = {}, configuration = {}) # initialize thor parent class super args, local_options, configuration @docker_user = config.active['docker_user'] @docker_repo = config.active['docker_repo'] @docker_tag = config.active['docker_tag'] @docker_registry = config.active['docker_registry'] end desc 'tag [COMMAND]', 'Handle docker image tags' subcommand 'tag', DockerImageTag # # docker image update # desc 'update', 'Get latest remote docker container' long_desc <<-LONGDESC.gsub("\n", "\x5") Get latest remote docker container This command will download the latest remote version of the takelage docker container. When you start the environment the latest locally available container will be used. LONGDESC # Get latest remote docker container. def update exit docker_image_update end end end
Version data entries
35 entries across 35 versions & 1 rubygems