Lucas Bajolet 3f721ff03e cmd/plugin_install: use semver to render version
When installing a plugin from a local binary, Packer builds the name of
the plugin from the results of the `describe' command.

Depending on how the plugin is built, the version reported may or may
not contain a leading `v', which was not taken into account beforehand
and the leading `v' was always injected in the path.

This caused plugins that report a leading `v' in their version to
be installed with two v's in their path, making them impossible to load.

Therefore to fix this issue, we count on the version library to print
out a version without the leading v, and we inject that in the resulting
path.
2024-03-26 10:08:28 -04:00
2021-10-11 10:19:49 +02:00
2023-08-10 15:53:29 -07:00
2024-03-12 09:36:26 -04:00
2023-12-06 12:43:42 -08:00
2021-04-21 10:52:55 +02:00
2024-03-06 11:23:45 -05:00
2024-03-11 15:06:13 -04:00
2023-10-03 10:32:42 -04:00
2023-12-06 12:43:42 -08:00
2023-08-10 15:53:29 -07:00
2023-08-10 15:53:29 -07:00
2023-10-26 15:03:55 -04:00
2023-08-10 15:53:29 -07:00

Packer

License: BUSL-1.1 Build Status Discuss

HashiCorp Packer logo

Packer is a tool for building identical machine images for multiple platforms from a single source configuration.

Packer is lightweight, runs on every major operating system, and is highly performant, creating machine images for multiple platforms in parallel. Packer supports various platforms through external plugin integrations, the full list of which can be found at https://developer.hashicorp.com/packer/integrations.

The images that Packer creates can easily be turned into Vagrant boxes.

Quick Start

Packer

There is a great introduction and getting started guide for building a Docker image on your local machine without using any paid cloud resources.

Alternatively, you can refer to getting started with AWS to learn how to build a machine image for an external cloud provider.

HCP Packer

HCP Packer registry stores Packer image metadata, enabling you to track your image lifecycle.

To get started with building an AWS machine image to HCP Packer for referencing in Terraform refer to the collection of HCP Packer Tutorials.

Documentation

Comprehensive documentation is viewable on the Packer website at https://developer.hashicorp.com/packer/docs.

Contributing to Packer

See CONTRIBUTING.md for best practices and instructions on setting up your development environment to work on Packer.

Unmaintained Plugins

As contributors' circumstances change, development on a community maintained plugin can slow. When this happens, HashiCorp may use GitHub's option to archive the plugins repository, to clearly signal the plugin's status to users.

What does unmaintained mean?

  1. The code repository and all commit history will still be available.
  2. Documentation will remain on the Packer website.
  3. Issues and pull requests are monitored as a best effort.
  4. No active development will be performed by HashiCorp.

If you are interested in maintaining an unmaintained or archived plugin, please reach out to us at [email protected].

S
Description
No description provided
Readme
163 MiB
Languages
Go 94.2%
HCL 4%
Shell 0.8%
Makefile 0.3%
MDX 0.3%
Other 0.4%