Sha256: 961af34ba4e0ff2fcd9bc74be22364ada8bbbdb7dd853007a88276d1f71ae9e7
Contents?: true
Size: 1.15 KB
Versions: 39
Compression:
Stored size: 1.15 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 @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
39 entries across 39 versions & 1 rubygems