{"id":16151248,"url":"https://github.com/stefansundin/bottlerocket-bootstrap-exec-user-data","last_synced_at":"2025-04-06T22:44:48.948Z","repository":{"id":148602500,"uuid":"559797876","full_name":"stefansundin/bottlerocket-bootstrap-exec-user-data","owner":"stefansundin","description":"A bootstrap container for Bottlerocket that executes whatever you put in its user data.","archived":false,"fork":false,"pushed_at":"2024-01-17T07:29:04.000Z","size":6,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T05:15:46.564Z","etag":null,"topics":["bottlerocket"],"latest_commit_sha":null,"homepage":"https://gallery.ecr.aws/stefansundin/bottlerocket-bootstrap-exec-user-data","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stefansundin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-10-31T05:34:04.000Z","updated_at":"2025-01-02T19:09:31.000Z","dependencies_parsed_at":"2024-02-12T18:08:34.306Z","dependency_job_id":null,"html_url":"https://github.com/stefansundin/bottlerocket-bootstrap-exec-user-data","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefansundin%2Fbottlerocket-bootstrap-exec-user-data","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefansundin%2Fbottlerocket-bootstrap-exec-user-data/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefansundin%2Fbottlerocket-bootstrap-exec-user-data/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefansundin%2Fbottlerocket-bootstrap-exec-user-data/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stefansundin","download_url":"https://codeload.github.com/stefansundin/bottlerocket-bootstrap-exec-user-data/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247563916,"owners_count":20958971,"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":["bottlerocket"],"created_at":"2024-10-10T00:55:20.407Z","updated_at":"2025-04-06T22:44:48.924Z","avatar_url":"https://github.com/stefansundin.png","language":"Shell","readme":"This is a bootstrap container for Bottlerocket that you can use to easily run arbitrary scripts. It executes whatever you put in the user-data so you don't have to make a custom docker image for every particular thing.\n\nThe docker image is [super](Dockerfile) [simple](main.sh) and based on `debian:bookworm-slim`.\n\nHere's an example of how to use it in your Bottlerocket user data:\n\n```toml\n[settings.bootstrap-containers.hello]\nsource = \"public.ecr.aws/stefansundin/bottlerocket-bootstrap-exec-user-data:latest\"\nmode = \"always\"\nessential = false\nuser-data = \"IyEvYmluL2Jhc2gKZWNobyAiSGVsbG8gV29ybGQhIgo=\"\n```\n\nThe `user-data` contains the data of file to execute (usually a bash script), encoded using base64. You can generate it like this:\n\n```shell\ncat \u003c\u003c 'EOF' | base64\n#!/bin/bash\necho \"Hello World!\"\nEOF\n```\n\n## Troubleshooting\n\nYou can get the output from the script by running: (you may need to edit `hello` to whatever you named your bootstrap container)\n\n```shell\nenter-admin-container\nsheltie\njournalctl -u bootstrap-containers@hello.service\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefansundin%2Fbottlerocket-bootstrap-exec-user-data","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstefansundin%2Fbottlerocket-bootstrap-exec-user-data","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefansundin%2Fbottlerocket-bootstrap-exec-user-data/lists"}