Skip to content

packer

Create multi-platform machine images from a single source configuration

Lightweight, runs on every major operating system, and is highly performant, creating machine images for multiple platforms in parallel. Packer comes out of the box with support for many platforms, the full list of which can be found at https://www.packer.io/docs/builders.

devops

https://www.packer.io

amd64 armhf arm64

Installation

1. Add WakeMeOps repository

curl -sSL https://raw.githubusercontent.com/upciti/wakemeops/main/assets/install_repository | sudo bash

2. Install packer

sudo apt install packer

Snippets

FROM wakemeops/minideb:bullseye

RUN install_packages \
    packer=1.8.6*

USER 1001
- name: Install dependencies
  uses: upciti/wakemeops-action@v1
  with:
    packages: |
      packer=1.8.6*

Download URLs

Version SHA256 Size (KB)
1.8.6 56a792edef30bc9c95d97def27f760eba678788550384df0844e60766a68c209 22075
1.8.5 a02d68a4ad2a36c4aa1d21c884c05be69ae29c7bfff649ac4a172829f621d831 21814
1.8.4 3ac9fe92991a58fb7ce9aa8ddca6d41d678ee2c682e184deb5513388189312c4 21628
1.8.3 20b82ef104b7ffc9506b69a591293ca80f955bebf620c323bce7b8d465dd4448 21504
1.8.2 33d45c2f7216b5bc7b7af2bb748502891e4ca8dea247c06c0e7af97acf2c02a4 21840
1.8.1 e94c1be0fb902b50902035c027862c14887d133374208c56efccea3cc84cef96 21820
1.8.0 9395f84a2d381da3320b19765b85fc9033bd88462623d5f3016fbc47b1e6dbfe 21326
1.7.10 e21baabb753dc5b20a2fa8ec16d1a721c9a97aea9518daa61aec9fbc771fd472 21303
Version SHA256 Size (KB)
1.8.6 88cb6213c0e7c522a22e571fd04319b4ad67b65e5e706e9f0de84672f0d4229c 19696
1.8.5 222f9d176a5d0df183afa89e4763e8d50c4a8b76611b065c0216c39dbf78ec54 19478
1.8.4 e5e5f011989ddaff10d9ec54059ab12e3afcdbea9197be290b7e101110036641 19284
1.8.3 07b43d3209345220e2788af5330f05aa9d112ee9f17054d7ad93a55169c0248a 19085
1.8.2 963b9f439196e0602f184b11edacef894bb2d22b1357ad40581c5847f4a78f23 19353
1.8.1 3153b87bad5a314fe01def6320085966c57e35333e69f7bb871154ac31f25f8f 19331
1.8.0 d18ac720fe738f5ee5cb637b636f716927e79fb390248b19f3bc43dd0a04c53c 18885
1.7.10 312caac50d66c7c760ddf69543a0c1962157af4d119659b03acdbc14da10a18f 18854
Version SHA256 Size (KB)
1.8.6 0a568b7819549c896959c881508da2ab526b6d77d1263848f6e6f48411fca935 19618
1.8.5 0441b3ee9c8ab997fc0af7a988ec43f9cdb7d03407ad0ae464bd8dedcd42e801 19359
1.8.4 cfa302e6be5009abbd07f32a4280895058896c4619bf3a04394b7c47113bdb9f 19207
1.8.3 c81e2870a09bffd16c6ff5009faf621104aafeebf031f853b5aac66dfca775e8 18790
1.8.2 7e0b43e2026ac14ddb16aa15b735d13cd54d984c5e8ca4fc11b9f78040366d35 19056
1.8.1 4e993e9aade495f3bee5cc99d492ca6bf7d7d7dd36c21043431782b83e2334e8 19042
1.8.0 2d6786f48e163090f52132b957b215df3fddb72e3e79ca8f157ee2628941591a 18590
1.7.10 8f3093ab12a4ac592572918377680cffc4d9a89a4a2334da96e9b0c03fd763fe 18573

Blueprints

Debian packages listed on this page are generated from op2deb YAML blueprints. Blueprints for packer are versionned here.

Click here to see packer ops2deb blueprints
https://github.com/upciti/wakemeops/blob/main/blueprints/devops/packer/ops2deb.yml
- name: packer
  matrix:
    versions:
      - 1.7.10
      - 1.8.0
    architectures:
      - amd64
      - arm64
      - armhf
  homepage: https://www.packer.io
  summary: create multi-platform machine images from a single source configuration
  description: |-
    Lightweight, runs on every major operating system, and is highly performant,
    creating machine images for multiple platforms in parallel. Packer comes out of
    the box with support for many platforms, the full list of which can be found at
    https://www.packer.io/docs/builders.
  fetch: https://releases.hashicorp.com/packer/{{version}}/packer_{{version}}_linux_{{goarch}}.zip
  script:
    - mv packer {{src}}/usr/bin/packer

- name: packer
  matrix:
    versions:
      - 1.8.1
      - 1.8.2
      - 1.8.3
      - 1.8.4
      - 1.8.5
      - 1.8.6
    architectures:
      - amd64
      - arm64
      - armhf
  homepage: https://www.packer.io
  summary: create multi-platform machine images from a single source configuration
  description: |-
    Lightweight, runs on every major operating system, and is highly performant,
    creating machine images for multiple platforms in parallel. Packer comes out of
    the box with support for many platforms, the full list of which can be found at
    https://www.packer.io/docs/builders.
  fetch: https://releases.hashicorp.com/packer/{{version}}/packer_{{version}}_linux_{{goarch}}.zip
  install:
    - packer:/usr/bin/

The blueprint fetch keyword contains a URL template pointing to packer releases. Downloaded files are locked in a lockfile versionned here.

Click here to see packer release hashes
https://github.com/upciti/wakemeops/blob/main/blueprints/devops/packer/ops2deb.lock.yml
- url: https://releases.hashicorp.com/packer/1.7.10/packer_1.7.10_linux_amd64.zip
  sha256: 1c8c176dd30f3b9ec3b418f8cb37822261ccebdaf0b01d9b8abf60213d1205cb
  timestamp: 2022-02-03 02:06:15+00:00
- url: https://releases.hashicorp.com/packer/1.7.10/packer_1.7.10_linux_arm.zip
  sha256: 6da48ac438997cc824f8f6c0be75caceebcc8bcebc7f1c54d1a62699fc388b9b
  timestamp: 2022-02-03 02:06:15+00:00
- url: https://releases.hashicorp.com/packer/1.7.10/packer_1.7.10_linux_arm64.zip
  sha256: 541e769c0582be48b15676e263461e1da85c312c35fa3decbcd08115371a8f80
  timestamp: 2022-02-03 02:06:15+00:00
- url: https://releases.hashicorp.com/packer/1.8.0/packer_1.8.0_linux_amd64.zip
  sha256: 94c5d65386fa8f17e36d3496fbbdf18d3bfab01306aa8000c14656b63070b7c2
  timestamp: 2022-03-04 22:18:36+00:00
- url: https://releases.hashicorp.com/packer/1.8.0/packer_1.8.0_linux_arm.zip
  sha256: a00c11f3e19d6e1727d5d34d17c55a591c32436a67be6880919560bcd0ef00b6
  timestamp: 2022-03-04 22:18:36+00:00
- url: https://releases.hashicorp.com/packer/1.8.0/packer_1.8.0_linux_arm64.zip
  sha256: 8b3a8768021b148ada2cbdf1c39f55d92e4280147ceb5f76f840a7adf50edce2
  timestamp: 2022-03-04 22:18:36+00:00
- url: https://releases.hashicorp.com/packer/1.8.1/packer_1.8.1_linux_amd64.zip
  sha256: ae834c85509669c40b26033e5b2210d5594db3921103e38af1e3f537b58338a3
  timestamp: 2022-05-27 23:21:17+00:00
- url: https://releases.hashicorp.com/packer/1.8.1/packer_1.8.1_linux_arm.zip
  sha256: 8fb625dbe88850d856f18fd3360f904990a9c7fed7ece38e3cb30a5a1d46e4c4
  timestamp: 2022-05-27 23:21:17+00:00
- url: https://releases.hashicorp.com/packer/1.8.1/packer_1.8.1_linux_arm64.zip
  sha256: 1e2d018ca5c9fa705a3b9627c2104edaffbd4ba9be4e14612ad5daf4b1c32be0
  timestamp: 2022-05-27 23:21:17+00:00
- url: https://releases.hashicorp.com/packer/1.8.2/packer_1.8.2_linux_amd64.zip
  sha256: 675bd82561a2e49f89747e092141c7ce79c2e2a9105e6a2ebd49a26df849a468
  timestamp: 2022-06-21 23:18:52+00:00
- url: https://releases.hashicorp.com/packer/1.8.2/packer_1.8.2_linux_arm.zip
  sha256: c1d77dde21327b12ae24b85a175918a6c4fb001669c3867373cdc3f968bb28e8
  timestamp: 2022-06-21 23:18:52+00:00
- url: https://releases.hashicorp.com/packer/1.8.2/packer_1.8.2_linux_arm64.zip
  sha256: 35c9b45dfd14bffd95601a518d70c2830ad362e75c8aefb752c89fd232f88beb
  timestamp: 2022-06-21 23:18:52+00:00
- url: https://releases.hashicorp.com/packer/1.8.3/packer_1.8.3_linux_amd64.zip
  sha256: 0587f7815ed79589cd9c2b754c82115731c8d0b8fd3b746fe40055d969facba5
  timestamp: 2022-08-02 23:19:39+00:00
- url: https://releases.hashicorp.com/packer/1.8.3/packer_1.8.3_linux_arm.zip
  sha256: a1dcaa97bb9ce93fe9f057733aab8ccef6bf4f2ef520236b7dcad4d90d4030a1
  timestamp: 2022-08-02 23:19:39+00:00
- url: https://releases.hashicorp.com/packer/1.8.3/packer_1.8.3_linux_arm64.zip
  sha256: edb096a34b88193294cb92deaac7ea4f67dfdeb21b0810d9b08a439f6767c2db
  timestamp: 2022-08-02 23:19:39+00:00
- url: https://releases.hashicorp.com/packer/1.8.4/packer_1.8.4_linux_amd64.zip
  sha256: ba25b84cc4d3541e9a1dcc0b8e1c7c693f1b39a5d129149194eb6b6050ae56c3
  timestamp: 2022-10-28 20:30:05+00:00
- url: https://releases.hashicorp.com/packer/1.8.4/packer_1.8.4_linux_arm.zip
  sha256: 25f742fe68f45927b033bfb0c6db1266c767bcf8fb64d53325ec449d39bcbb1f
  timestamp: 2022-10-28 20:30:05+00:00
- url: https://releases.hashicorp.com/packer/1.8.4/packer_1.8.4_linux_arm64.zip
  sha256: 13c1895b7e09123d7d45d646b21dc5c194335204c56d8a29851a76e196f39be0
  timestamp: 2022-10-28 20:30:05+00:00
- url: https://releases.hashicorp.com/packer/1.8.5/packer_1.8.5_linux_amd64.zip
  sha256: 1f17a724e5ccc696010c842e6d2bb2c2749ab18ce7bf06482012d3ddb9edeef2
  timestamp: 2022-12-13 02:44:10+00:00
- url: https://releases.hashicorp.com/packer/1.8.5/packer_1.8.5_linux_arm.zip
  sha256: c9d317e5cd1dff67757d04084077ae640c333bc9130edbdaaeb506a70929d88c
  timestamp: 2022-12-13 02:44:10+00:00
- url: https://releases.hashicorp.com/packer/1.8.5/packer_1.8.5_linux_arm64.zip
  sha256: 28ad00415862586bd4877b6cb5db6b4340787728dcc570456b8c4fdc482ac498
  timestamp: 2022-12-13 02:44:10+00:00
- url: https://releases.hashicorp.com/packer/1.8.6/packer_1.8.6_linux_amd64.zip
  sha256: 57d0411e578aea62918d36ed186951139d5d49d44b76e5666d1fbf2427b385ae
  timestamp: 2023-02-15 22:17:44+00:00
- url: https://releases.hashicorp.com/packer/1.8.6/packer_1.8.6_linux_arm.zip
  sha256: 538e355a9a64ed49b00f06a19eac28b9bba5b99d1e44c67873400acf8c10e3cb
  timestamp: 2023-02-15 22:17:44+00:00
- url: https://releases.hashicorp.com/packer/1.8.6/packer_1.8.6_linux_arm64.zip
  sha256: 6f28ade0040fa40fdb19966bbb87dddc5b289d7aa90c6503638d61baaea54d19
  timestamp: 2023-02-15 22:17:44+00:00

Badge

WakeMeOps

[![WakeMeOps](https://docs.wakemeops.com/badges/packer.svg)](https://docs.wakemeops.com/packages/packer)
<a href="https://docs.wakemeops.com/packages/packer">
  <img src="https://docs.wakemeops.com/badges/packer.svg"/>
</a>
.. image:: https://docs.wakemeops.com/badges/packer.svg
:target: https://docs.wakemeops.com/packages/packer