{"id":19601483,"url":"https://github.com/stackstorm/st2packs-dockerfiles","last_synced_at":"2025-02-26T15:28:49.535Z","repository":{"id":33859366,"uuid":"149643694","full_name":"StackStorm/st2packs-dockerfiles","owner":"StackStorm","description":"Source for st2packs-builder and st2packs-runner images","archived":false,"fork":false,"pushed_at":"2023-09-05T14:37:47.000Z","size":49,"stargazers_count":3,"open_issues_count":7,"forks_count":20,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-01-09T08:18:40.951Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/StackStorm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-09-20T17:10:03.000Z","updated_at":"2022-12-07T15:33:29.000Z","dependencies_parsed_at":"2022-07-28T21:08:49.337Z","dependency_job_id":null,"html_url":"https://github.com/StackStorm/st2packs-dockerfiles","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StackStorm%2Fst2packs-dockerfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StackStorm%2Fst2packs-dockerfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StackStorm%2Fst2packs-dockerfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StackStorm%2Fst2packs-dockerfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StackStorm","download_url":"https://codeload.github.com/StackStorm/st2packs-dockerfiles/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240879732,"owners_count":19872416,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T09:18:36.031Z","updated_at":"2025-02-26T15:28:49.514Z","avatar_url":"https://github.com/StackStorm.png","language":"Dockerfile","readme":"[![Go to Docker Hub](https://img.shields.io/docker/cloud/build/stackstorm/st2packs)](https://hub.docker.com/r/stackstorm/st2packs/)\n\n# Overview\n\nBy default, only system packs are available to StackStorm services when installed using the\nstackstorm-ha [helm chart](https://helm.stackstorm.com). If you need additional packs,\nbake them into a custom docker image using the instructions below.\n\nThe `st2packs` image will mount `/opt/stackstorm/{packs,virtualenvs}` via a sidecar container in\npods which need access to the packs. These volumes are mounted read-only. In the kubernetes cluster,\nthe `st2 pack install` command will not work.\n\n# Building the st2packs image\n\nTo build your own custom `st2packs` image, run:\n\n```\ngit clone git@github.com:stackstorm/st2packs-dockerfiles\ncd st2packs-dockerfiles\ndocker build --build-arg PACKS=\"\u003cpack names\u003e\" -t ${DOCKER_REGISTRY}/st2packs:\u003cversion_number\u003e st2packs-image\n```\n\nwhere `\u003cpack names\u003e` is a space separated list of packs you want to install in the st2packs image\nand `\u003cdocker_registry\u003e` is the registry URL. `\u003cversion_number\u003e` should be used and incremented with each change to the pack contents, since using 'latest' as the pack will not tell helm when changes occur and upgrade will not occur. The pack may be specified as a github url, or as a\nlocal file (e.g. file://\u003cpath to file\u003e). In the latter case, then you need to ensure these are\nCOPY'd into the docker build environment. As an example,\n\n```\nARG PACKS=\"file:///tmp/stackstorm-st2\"\n\nFROM stackstorm/st2packs:builder AS builder\n# considering you have your \"local\" pack under the `stackstorm-st2` dir relative to Dockerfile\n# Here we copy local \"stackstorm-st2\" dir into Docker's \"/tmp/stackstorm-st2\"\nCOPY stackstorm-st2 /tmp/stackstorm-st2/\n# Check it\nRUN ls -la /tmp/stackstorm-st2\n\nRUN /opt/stackstorm/st2/bin/st2-pack-install ${PACKS}\nFROM stackstorm/st2packs:runtime\n```\n\n# Helper images\n\nThe `st2packs-builder` and `st2packs-runtime` directories each contain a Dockerfile for images that\nare used to simplify the `st2packs` Dockerfile.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackstorm%2Fst2packs-dockerfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstackstorm%2Fst2packs-dockerfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackstorm%2Fst2packs-dockerfiles/lists"}