{"id":18754954,"url":"https://github.com/pyohei/docker-cgi-python","last_synced_at":"2025-10-24T06:34:41.929Z","repository":{"id":47165632,"uuid":"92513967","full_name":"pyohei/docker-cgi-python","owner":"pyohei","description":"🐳Docker file for cgi using python2.7, 3.6, 3.7, 3.8, 3.9 and 3.10🐍","archived":false,"fork":false,"pushed_at":"2022-11-09T13:00:08.000Z","size":32,"stargazers_count":16,"open_issues_count":0,"forks_count":14,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-01T12:55:30.550Z","etag":null,"topics":["apache2","cgi","docker","python2","python27","python3","python310","python36","python37","python38","python39","ubuntu1804"],"latest_commit_sha":null,"homepage":"https://medium.com/@pyohei/create-the-simple-image-server-with-python-f8b4b8607485?source=friends_link\u0026sk=684aadf8462ae0f2facb5ce3a737c860","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/pyohei.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":"2017-05-26T13:35:27.000Z","updated_at":"2023-08-20T16:46:15.000Z","dependencies_parsed_at":"2023-01-22T10:15:15.707Z","dependency_job_id":null,"html_url":"https://github.com/pyohei/docker-cgi-python","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/pyohei/docker-cgi-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyohei%2Fdocker-cgi-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyohei%2Fdocker-cgi-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyohei%2Fdocker-cgi-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyohei%2Fdocker-cgi-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pyohei","download_url":"https://codeload.github.com/pyohei/docker-cgi-python/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyohei%2Fdocker-cgi-python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274455673,"owners_count":25288557,"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-09-10T02:00:12.551Z","response_time":83,"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":["apache2","cgi","docker","python2","python27","python3","python310","python36","python37","python38","python39","ubuntu1804"],"created_at":"2024-11-07T17:30:55.792Z","updated_at":"2025-10-24T06:34:41.843Z","avatar_url":"https://github.com/pyohei.png","language":"Dockerfile","readme":"# Docker(Ubuntu20.04) for cgi with python(2.7/3.6/3.7/3.8/3.9/3.10)\n\nThis is a simple python web server settings.  \nWith this docker image, you can create simple web application with cgi.  \n\n## How to use\n\n```bash\n# build image\ndocker build -t pycgi .\n# run image\nHASH=`docker run -p 8883:80 -d pycgi`\n# exec container\ndocker exec -it $HASH /bin/bash\n```\n\nYou can Access from the below URL after run docker container.  \n\n* Shell Script ... [http://localhost:8883/cgi-bin2/sh.cgi](http://localhost:8883/cgi-bin2/sh.cgi)\n* Python2.7 ... [http://localhost:8883/cgi-bin2/py27.cgi](http://localhost:8883/cgi-bin2/py27.cgi)\n* Python3.6 ... [http://localhost:8883/cgi-bin2/py36.cgi](http://localhost:8883/cgi-bin2/py36.cgi)\n* Python3.7 ... [http://localhost:8883/cgi-bin2/py37.cgi](http://localhost:8883/cgi-bin2/py37.cgi)\n* Python3.8 ... [http://localhost:8883/cgi-bin2/py38.cgi](http://localhost:8883/cgi-bin2/py38.cgi)\n* Python3.9 ... [http://localhost:8883/cgi-bin2/py39.cgi](http://localhost:8883/cgi-bin2/py39.cgi)\n* Python3.10 ... [http://localhost:8883/cgi-bin2/py310.cgi](http://localhost:8883/cgi-bin2/py310.cgi)\n\n## Allow Python version\n\n* 2.7\n* 3.6\n* 3.7\n* 3.8\n* 3.9\n* 3.10\n\n### References\n\n* [Usage of docker with apache2](https://www.dockerbook.com/code/6/jekyll/apache/Dockerfile)\n* [【Linux】Rubyで書いたCGIをApacheで動かしてみる](http://note.kurodigi.com/apache-cgi/)(Japanese)\n\n### Licence\n\n* [MIT](https://github.com/pyohei/docker-cgi-python/blob/master/LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyohei%2Fdocker-cgi-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpyohei%2Fdocker-cgi-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyohei%2Fdocker-cgi-python/lists"}