{"id":31770022,"url":"https://github.com/jfrog/jfrog-distroless","last_synced_at":"2025-10-10T02:56:28.353Z","repository":{"id":46965353,"uuid":"180763955","full_name":"jfrog/jfrog-distroless","owner":"jfrog","description":null,"archived":false,"fork":false,"pushed_at":"2023-05-19T21:10:12.000Z","size":227,"stargazers_count":6,"open_issues_count":3,"forks_count":20,"subscribers_count":19,"default_branch":"master","last_synced_at":"2024-08-01T21:16:04.760Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Starlark","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/jfrog.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}},"created_at":"2019-04-11T09:54:49.000Z","updated_at":"2024-08-01T21:16:04.761Z","dependencies_parsed_at":"2022-09-07T22:23:02.073Z","dependency_job_id":null,"html_url":"https://github.com/jfrog/jfrog-distroless","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/jfrog/jfrog-distroless","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfrog%2Fjfrog-distroless","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfrog%2Fjfrog-distroless/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfrog%2Fjfrog-distroless/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfrog%2Fjfrog-distroless/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jfrog","download_url":"https://codeload.github.com/jfrog/jfrog-distroless/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfrog%2Fjfrog-distroless/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002512,"owners_count":26083403,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2025-10-10T02:56:22.979Z","updated_at":"2025-10-10T02:56:28.344Z","avatar_url":"https://github.com/jfrog.png","language":"Starlark","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ⚠️ DEPRECATED - JFrog distroless base images \n\nJFrog products no longer use distroless images as base image. All the base images has been updated with the [Red Hat's UBI micro](https://www.redhat.com/en/blog/introduction-ubi-micro) images.\n\nThis project is based on Google [distroless](https://github.com/GoogleContainerTools/distroless) project \nand build using [Bazel](https://bazel.build/) build tool\n\n# Goal\nCreate a light weight image with no security vulnerabilities \n\n## Build Image\nTo build all images run the following in the root directory, it expect BUILD_NUMBER (Jenkins Ready) to be pre set.\n```bash\n# Set BUILD_NUMBER for local use\nexport BUILD_NUMBER=0.1-test\n\n# Run the bazel build\nbazel build all\n```\n\nIf you want to build specific image you can run\n```bash\nbazel build base/base\n```\n\nTo tag the images like stated in the root BUILD file run\n```bash\nbazel run all\n```\n\nIf you don't have `bazel` installed you can use the docker bazel builder image by\n```bash\n# CD into the Dockerfile directory\ncd docker-bazel-builder\n\n# Build the Docker image\ndocker build -f Dockerfile.bazel-builder -t bazel-docker-builder:latest .\n\n# Go back to repository root\ncd ../\n\n# Run the bazel build\ndocker run --rm -v /var/run/docker.sock:/var/run/docker.sock -v \"$PWD\":/usr/src/app -e BUILD_NUMBER=11 bazel-docker-builder:latest bash -c \"bazel build all \u0026\u0026 bazel test --test_output=errors --curses=no //...\"\n```\n\n## Installed Resources\n* Debian files: Debian repo is declared in the [WORKSPACE](WORKSPACE) file, it is currently pointing to a [dedicated Artifactory instance](https://deepscan.jfrog.io/deepscan) \n\nTo install new debian you need to declare it in the [WORKSPACE](WORKSPACE) in the dpkg_list and in the BUILD file in the debs section of the image.\n\n* Resources that are not available as deb files can be installed as tar files. The download resource is define as http_archive in the [WORKSPACE](WORKSPACE) file and you build them under experimental directory, last command should tar it then you can \nadd them as tar action during the image build.\n\n## Custom Artifactory Docker image\nIn some cases, you'll want to customise the Artifactory Docker image and add more tools or do some other customisations to it.\u003cbr\u003e\nSee [customize-example](customize-example) directory with a couple of Dockerfiles as examples of how this can be done.\n\n**NOTE:** These are examples only and are meant to be extended as needed!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjfrog%2Fjfrog-distroless","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjfrog%2Fjfrog-distroless","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjfrog%2Fjfrog-distroless/lists"}