{"id":19909113,"url":"https://github.com/dyne/docker2sh","last_synced_at":"2025-05-03T02:31:35.281Z","repository":{"id":141086064,"uuid":"222937495","full_name":"dyne/docker2sh","owner":"dyne","description":"Convert a Dockerfile to a shell script","archived":false,"fork":false,"pushed_at":"2019-11-20T22:28:46.000Z","size":26,"stargazers_count":15,"open_issues_count":0,"forks_count":2,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-07T10:35:46.311Z","etag":null,"topics":["conversion","docker","dockerfile","shell","shell-script"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dyne.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"github":["dyne"],"patreon":"dyneorg","open_collective":"dyneorg"}},"created_at":"2019-11-20T12:56:01.000Z","updated_at":"2024-11-14T08:12:35.000Z","dependencies_parsed_at":"2023-03-24T05:04:49.184Z","dependency_job_id":null,"html_url":"https://github.com/dyne/docker2sh","commit_stats":{"total_commits":8,"total_committers":2,"mean_commits":4.0,"dds":0.375,"last_synced_commit":"377fa2d14fc5b44dcb6d0819b55c821f3e51f69c"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dyne%2Fdocker2sh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dyne%2Fdocker2sh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dyne%2Fdocker2sh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dyne%2Fdocker2sh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dyne","download_url":"https://codeload.github.com/dyne/docker2sh/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252133723,"owners_count":21699586,"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":["conversion","docker","dockerfile","shell","shell-script"],"created_at":"2024-11-12T21:14:23.780Z","updated_at":"2025-05-03T02:31:35.042Z","avatar_url":"https://github.com/dyne.png","language":"Python","funding_links":["https://github.com/sponsors/dyne","https://patreon.com/dyneorg","https://opencollective.com/dyneorg"],"categories":[],"sub_categories":[],"readme":"# Docker 2 Shell\n\nThis is a simple script to convert a\n[Dockerfile](https://docs.docker.com/engine/reference/builder/) to a\nshell script that can be executed to replicate the same commands on\nany machine or chroot.\n\n[![software by Dyne.org](https://files.dyne.org/software_by_dyne.png)](http://www.dyne.org)\n\nIts primary use is coupled with the [Devuan\nSDK](https://git.devuan.org/sdk) where we use Docker to prototype and\nthen this script to \"toast\" the prototype inside a Devuan blend.\n\nAnother use is inside the\n[Toaster.DO](https://github.com/DECODEproject/toaster.do) project.\n\nIt can also export the Dockerfile to a JSON formatted AST.\n\n```\nusage: docker2sh.py [-h] [-j] [-s] [--keeptabs] Dockerfile\n\npositional arguments:\n  Dockerfile\n\noptional arguments:\n  -h, --help   show this help message and exit\n  -j, --json   output the data as a JSON structure\n  -s, --shell  output the data as a shell script (default)\n  --keeptabs   do not replace \\t (tabs) in the strings\n```\n\n# Licensing\n\nDocker2sh is Copyright (C) 2018 - 2019 by the Dyne.org Foundation\n\nDesigned, written and maintained by Ivan J. and Denis Roio\n\nThis source code is free software; you can redistribute it and/or\nmodify it under the terms of the GNU Public License as published by\nthe Free Software Foundation; either version 3 of the License, or\n(at your option) any later version.\n\nThis source code is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  Please refer\nto the GNU Public License for more details.\n\nYou should have received a copy of the GNU Public License along with\nthis source code; if not, write to: Free Software Foundation, Inc.,\n675 Mass Ave, Cambridge, MA 02139, USA.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdyne%2Fdocker2sh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdyne%2Fdocker2sh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdyne%2Fdocker2sh/lists"}