def expand_package(command_dict, package, version, pinning_separator):
    """Update the given dockerfile object with the pinned package
    and version information. """
    command_dict['value'] = command_dict['value'].replace(package, package +
        pinning_separator + version, 1)
    command_dict['content'] = command_dict['instruction'] + ' ' + command_dict[
        'value'] + '\n'
