{"id":20945927,"url":"https://github.com/eviweb/base-image","last_synced_at":"2026-04-22T12:05:14.596Z","repository":{"id":147347784,"uuid":"70713531","full_name":"eviweb/base-image","owner":"eviweb","description":"A Docker base image using su-exec and based on a custom Alpine Linux environment","archived":false,"fork":false,"pushed_at":"2016-10-13T14:12:27.000Z","size":11989,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-27T22:45:01.522Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eviweb.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"publiccode":null,"codemeta":null}},"created_at":"2016-10-12T15:25:29.000Z","updated_at":"2016-10-14T16:06:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"5aa1b278-df00-469c-b6a1-83172b739fdc","html_url":"https://github.com/eviweb/base-image","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/eviweb/base-image","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eviweb%2Fbase-image","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eviweb%2Fbase-image/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eviweb%2Fbase-image/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eviweb%2Fbase-image/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eviweb","download_url":"https://codeload.github.com/eviweb/base-image/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eviweb%2Fbase-image/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32135191,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T08:34:57.708Z","status":"ssl_error","status_checked_at":"2026-04-22T08:34:55.583Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-18T23:51:14.648Z","updated_at":"2026-04-22T12:05:09.587Z","avatar_url":"https://github.com/eviweb.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Docker - Base image\n===================\nA base image using [su-exec][su-exec], based on a custom [Alpine Linux][alpine]\n\n##### Health status\n[![Build Status][build-status]][repository]\n[![Github - Last tag][last-tag]][tags]\n\nUsage\n-----\n### Create an image\n* Create a `Dockerfile`\n```\nFROM eviweb/base-image\n\nCMD [\"/my/command/to/run\"]\n```\n* Build the image\n`docker build -t vendor/image:version .`\n\n### Change entrypoint in Dockerfile\nUse the `entrypoint` provided command:    \n\n```\nFROM eviweb/base-image\n\nENTRYPOINT [\"entrypoint\", \"/my/command/to/run\"]\n```\n\n### Add packages in Dockerfile\nUse the `add-pack` provided command:    \n\n```\nFROM eviweb/base-image\n\nRUN add-pack package package@repository\n\nCMD [\"/my/command/to/run\"]\n```\n\n### Run as different user\nThe user name and the user uid customized, by using respective environment variables `LOCAL_USER_NAME` and `LOCAL_USER_UID` when calling `docker run`.    \n\nie. `docker run --rm -e LOCAL_USER_NAME=myuser -e LOCAL_USER_UID=2200 vendor/image:version`   \n\nThe user is created within the container if he didn't already exist.    \nThis allow to run the container as `root` if needed.\n\n### Be more verbose\nYou can display the current user and his uid, by using the `DEBUG=1` environment variable when calling `docker run`.    \n\nie. `docker run --rm -e DEBUG=1 vendor/image:version`   \n\nAlpine Package Repositories\n---------------------------\nThe following pacakge repositories are currently provided by this image:\n* Edge Main: tagged `@main`\n* Edge Community: tagged `@community`\n* Edge Testing: tagged `@testing`\n\nTo install a package from one of these repositories, simply tag the package as `pakage@repository`.\n\nie. `php7@community`\n\n\u003e Please note that untagged packages refer to the `@main` repository.\n\nAlpine Installed Packages\n-------------------------\nPlease refer to [Alpine Packages][alpine-packages]\n\nBuild\n-----\nTo build this image, run `make` from the root of this project.\n\nCredits\n-------\n* [iMega Base Builder][imega-docker]\n* [Handling Permissions with Docker Volumes][denibertovic]: thanks to [Deni BERTOVI\u0026#262;][denibertovic-github]\n\nLicense\n-------\nThis project is licensed under the terms of the [MIT License][license]\n\n[alpine]: https://alpinelinux.org/\n[alpine-packages]: https://github.com/eviweb/base-image/blob/master/alpine-packages.md\n[build-status]: https://travis-ci.org/eviweb/base-image.svg?branch=master\n[denibertovic]: https://denibertovic.com/posts/handling-permissions-with-docker-volumes/\n[denibertovic-github]: https://github.com/denibertovic\n[imega-docker]: https://github.com/imega-docker/base-builder\n[last-tag]: https://img.shields.io/github/tag/eviweb/base-image.svg\n[license]: https://github.com/eviweb/base-image/blob/master/LICENSE\n[repository]: https://travis-ci.org/eviweb/base-image\n[su-exec]: https://github.com/ncopa/su-exec\n[tags]: https://github.com/eviweb/base-image/tags","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feviweb%2Fbase-image","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feviweb%2Fbase-image","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feviweb%2Fbase-image/lists"}