Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
8c0b5797
Commit
8c0b5797
authored
Mar 17, 2018
by
Chris Thurber
Committed by
GitHub
Mar 17, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2095 from uberhacker/add-packer-package
Add packer package
parents
f046c2c3
c3626e26
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
0 deletions
+33
-0
packages/packer.rb
packages/packer.rb
+33
-0
No files found.
packages/packer.rb
0 → 100644
View file @
8c0b5797
require
'package'
class
Packer
<
Package
description
'Packer is an open source tool for creating identical machine images for multiple platforms from a single source configuration.'
homepage
'https://www.packer.io/'
version
'1.2.1'
case
ARCH
when
'aarch64'
source_url
'https://releases.hashicorp.com/packer/1.2.1/packer_1.2.1_linux_arm64.zip'
source_sha256
'8bbd20ad2b7065394b5d8b99b5a1dd73c7a9a07fae5f53ed4c95fccbe5d40ca5'
when
'armv7l'
source_url
'https://releases.hashicorp.com/packer/1.2.1/packer_1.2.1_linux_arm.zip'
source_sha256
'dddedcd1cf8cb23d4c3b301219593dc66c4e407db270a08b514f2cefe07a0e49'
when
'i686'
source_url
'https://releases.hashicorp.com/packer/1.2.1/packer_1.2.1_linux_386.zip'
source_sha256
'f0fa2c3f6ff63b8833240c3a35a5833e7a576a3060c9faaae11ad1f75ae576ac'
when
'x86_64'
source_url
'https://releases.hashicorp.com/packer/1.2.1/packer_1.2.1_linux_amd64.zip'
source_sha256
'dd90f00b69c4d8f88a8d657fff0bb909c77ebb998afd1f77da110bc05e2ed9c3'
end
binary_url
({
})
binary_sha256
({
})
depends_on
'unzip'
=>
:build
def
self
.
install
system
"install -Dm755 packer
#{
CREW_DEST_PREFIX
}
/bin/packer"
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment