{"id":19598905,"url":"https://github.com/victorshinya/docker-functions","last_synced_at":"2026-05-10T20:57:54.188Z","repository":{"id":126646412,"uuid":"168756500","full_name":"victorshinya/docker-functions","owner":"victorshinya","description":"Build Functions using Docker","archived":false,"fork":false,"pushed_at":"2019-02-25T19:22:06.000Z","size":95,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-09T07:49:28.724Z","etag":null,"topics":["container","docker","docker-container","docker-images","docker-swarm","faas","function-as-a-service","kubernetes","openfaas","openfaas-function"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/victorshinya.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,"publiccode":null,"codemeta":null}},"created_at":"2019-02-01T20:31:27.000Z","updated_at":"2019-02-25T19:22:07.000Z","dependencies_parsed_at":"2023-05-06T05:32:20.627Z","dependency_job_id":null,"html_url":"https://github.com/victorshinya/docker-functions","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/victorshinya%2Fdocker-functions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorshinya%2Fdocker-functions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorshinya%2Fdocker-functions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorshinya%2Fdocker-functions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/victorshinya","download_url":"https://codeload.github.com/victorshinya/docker-functions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240876854,"owners_count":19871903,"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":["container","docker","docker-container","docker-images","docker-swarm","faas","function-as-a-service","kubernetes","openfaas","openfaas-function"],"created_at":"2024-11-11T09:08:15.980Z","updated_at":"2026-05-10T20:57:54.141Z","avatar_url":"https://github.com/victorshinya.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![](https://img.shields.io/badge/IBM%20Cloud-powered-blue.svg)](https://cloud.ibm.com)\n[![Platform](https://img.shields.io/badge/platform-docker-blue.svg?style=flat)](https://developer.ibm.com/docker/)\n\n# Build Functions using Docker\n\nDevelop and deploy new serverless applications are quite simple. Break your solution into several separate components, and then, break it again into several functions (or actions). However, there are quite a few features that require to use other programming languages or even using opensource services (such as ImageMagick), and your serverless platform does not have a native support. In this case, you need to use a Docker container to build your function.\n\nLearn how to use Apache OpenWhisk and OpenFaaS using Docker, Docker Swarm, and Kubernetes.\n\n## Setup your local environment\n\n### Docker\n\nTo configure your local environment, and even, to deploy a function you need to download and install [Docker Desktop](https://www.docker.com/products/docker-desktop).\n\n### Apache OpenWhisk on IBM Cloud platform\n\nDownload and install [IBM Cloud CLI](https://cloud.ibm.com/docs/cli/reference/ibmcloud?topic=cloud-cli-install-ibmcloud-cli#install-ibmcloud-cli) and [IBM Cloud Functions CLI](https://cloud.ibm.com/openwhisk/learn/cli) to build your functions on IBM Cloud platform. If you want to use the standard [Apache OpenWhisk CLI](https://openwhisk.apache.org/documentation.html#wsk-cli), you can access the link and download the `wsk-cli`.\n\n### OpenFaaS\n\nTo install and configure [OpenFaaS](https://openfass.com), you need to install [Docker](https://github.com/victorshinya/docker-functions#docker) in your local machine.\n```sh\ncurl -sSL https://raw.githubusercontent.com/openfaas/faas/master/docker-compose.yml | grep image | awk -F \" \" '{print $NF}' | xargs -L1 docker pull\n```\n\nSetup a single-node cluster.\n```sh\ndocker swarm init\n```\n\nCreate an account on [Docker Hub](https://hub.docker.com/) and log in.\n```sh\ndocker login\n```\n\nDownload and install [OpenFaaS CLI](https://openfaas.com).\n```sh\ncurl -sL cli.openfaas.com | sudo sh\n```\n\n## Samples\n\nFollow both samples in this repository:\n- [Sample C prograaming language on IBM Cloud Functions](https://github.com/victorshinya/docker-faas/blob/master/c-lang#README.md)\n- [ImageMagick service on OpenFaaS](https://github.com/victorshinya/docker-faas/blob/master/imagemagick#README.md)\n\n## License\n\nMIT License\n\nCopyright (c) 2018 Victor Kazuyuki Shinya\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvictorshinya%2Fdocker-functions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvictorshinya%2Fdocker-functions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvictorshinya%2Fdocker-functions/lists"}