Sha256: 565ead126906ef4e73d8eea2884068c21a5da06777b727d97722caa8a958dce6
Contents?: true
Size: 1.14 KB
Versions: 18
Compression:
Stored size: 1.14 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_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
18 entries across 18 versions & 1 rubygems