#NEWLINE# def render_add_labels_in_dockerfile( self ) : #NEWLINE# #INDENT# implicit_labels = { #NEWLINE# #INDENT# 'Vendor' : self . spec . vendor . value , #NEWLINE# 'Authoritative_Registry' : self . spec . authoritative_registry . value , #NEWLINE# 'distribution-scope' : build_host . spec . distribution_scope . value , #NEWLINE# #UNINDENT# } #NEWLINE# build_host = self . spec . build_host . value #NEWLINE# if build_host : #NEWLINE# #INDENT# implicit_labels [ 'Build_Host' ] = build_host #NEWLINE# #UNINDENT# architecture = self . spec . architecture . value #NEWLINE# if architecture : #NEWLINE# #INDENT# implicit_labels [ 'Architecture' ] = architecture #NEWLINE# #UNINDENT# self . dj . dock_json_merge_arg ( 'prebuild_plugins' , 'add_labels_in_dockerfile' , 'labels' , implicit_labels )