mirror of
https://github.com/valitydev/image-riak-base.git
synced 2024-11-06 10:15:24 +00:00
06cfb9e28e
* Jenkinsfile artifacts argument was removed from images_pipeline; * Makefile Cleanup, cross-platform date timespec (i guess); Download and import stage3 instead of doing so inside the container; * packer.json Moved from files; Use imported stage3 instead of busybox; * files Renamed from bootstrap; ** packer.sh Stage3 downloading and extracting part has been removed. * build-utils/getstage3.sh Script to download any latest stage3 and possibly to do something with it;
36 lines
968 B
JSON
36 lines
968 B
JSON
{
|
|
"variables": {
|
|
"docker-registry": "dr.rbkmoney.com",
|
|
"files-dir": "{{env `PWD`}}/files/",
|
|
"shared-dir": "{{env `HOME`}}/.cache/rbkmoney/images/shared/",
|
|
"image-tag": null
|
|
},
|
|
"builders": [
|
|
{
|
|
"type": "docker",
|
|
"image": "{{user `docker-registry`}}/rbkmoney/stage3-amd64-hardened-nomultilib",
|
|
"run_command": ["-d", "-i", "-t", "{{.Image}}", "/bin/bash"],
|
|
"volumes": {
|
|
"{{user `files-dir`}}": "/tmp/data:ro",
|
|
"{{user `shared-dir`}}/portage": "/usr/portage:ro"
|
|
},
|
|
"pull": "false",
|
|
"commit": "true"
|
|
}
|
|
],
|
|
"provisioners": [
|
|
{
|
|
"type": "shell",
|
|
"script": "{{user `files-dir`}}/packer.sh"
|
|
}
|
|
],
|
|
"post-processors": [
|
|
{
|
|
"type": "docker-tag",
|
|
"repository": "{{user `docker-registry`}}/rbkmoney/bootstrap",
|
|
"tag": "{{user `image-tag`}}"
|
|
}
|
|
]
|
|
}
|
|
|