Class: Mrsk::Commands::Builder::Native

Inherits:
Base show all
Defined in:
lib/mrsk/commands/builder/native.rb

Direct Known Subclasses

Remote

Defined Under Namespace

Classes: Remote

Instance Attribute Summary

Attributes inherited from Mrsk::Commands::Base

#config

Instance Method Summary collapse

Methods inherited from Base

#build_args, #build_secrets, #pull

Methods inherited from Mrsk::Commands::Base

#initialize, #run_over_ssh

Constructor Details

This class inherits a constructor from Mrsk::Commands::Base

Instance Method Details

#createObject



4
5
6
# File 'lib/mrsk/commands/builder/native.rb', line 4

def create
  # No-op on native
end

#infoObject



18
19
20
# File 'lib/mrsk/commands/builder/native.rb', line 18

def info
  # No-op on native
end

#pushObject



12
13
14
15
16
# File 'lib/mrsk/commands/builder/native.rb', line 12

def push
  combine \
    docker(:build, "-t", *build_args, *build_secrets, config.absolute_image, "."),
    docker(:push, config.absolute_image)
end

#removeObject



8
9
10
# File 'lib/mrsk/commands/builder/native.rb', line 8

def remove
  # No-op on native
end