{"id":16110191,"url":"https://github.com/bernddoser/docker-devel-cpp","last_synced_at":"2025-03-18T09:30:53.116Z","repository":{"id":129378126,"uuid":"82676979","full_name":"BerndDoser/docker-devel-cpp","owner":"BerndDoser","description":"Docker containers with C++ development environment","archived":false,"fork":false,"pushed_at":"2018-02-07T20:43:13.000Z","size":70,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T08:33:49.147Z","etag":null,"topics":["development-environment","docker","eclipse","jenkins"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/BerndDoser.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":"2017-02-21T12:25:59.000Z","updated_at":"2023-05-08T10:08:18.000Z","dependencies_parsed_at":"2023-03-13T11:23:58.407Z","dependency_job_id":null,"html_url":"https://github.com/BerndDoser/docker-devel-cpp","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/BerndDoser%2Fdocker-devel-cpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BerndDoser%2Fdocker-devel-cpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BerndDoser%2Fdocker-devel-cpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BerndDoser%2Fdocker-devel-cpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BerndDoser","download_url":"https://codeload.github.com/BerndDoser/docker-devel-cpp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243911100,"owners_count":20367627,"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":["development-environment","docker","eclipse","jenkins"],"created_at":"2024-10-09T19:36:16.015Z","updated_at":"2025-03-18T09:30:53.110Z","avatar_url":"https://github.com/BerndDoser.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-devel-cpp\n\n## DEPRECATION NOTICE\n\n:exclamation:\n**Please find the new repository at** https://github.com/BrainTwister/docker-devel-env\n\nDocker enables a great way for fast, small, reproducable, and portable software development environments.\n\nThe advantages are:\n\n * Fast build and execution of containers, especially compared to virtual machines\n * Very economical consumption of resources\n * Portability: Same environment on differerent machines and different plattform (also different operating systems)\n * Identical environment for IDE and continuous integration\n * Easy provisioning \n * Reproducable behaviors\n\n## Requirements\n\n * docker\n * docker-compose (recommened)\n\n## Docker image structure\n\nThe docker images are structured modular with the syntax\n`module1` - `version1` - `module2` - `version2` - `module3` - `version3` - `...`,\nwhere image `module1-version1-module2-version2-module3-version3` is using the image\n`module1-version1-module2-version2` as base. The name of the directory is used\nas docker image label, so that it can be pulled with\n\n```bash\ndocker pull bernddoser/docker-devel-cpp:module1-version1-module2-version2-module3-version3\n```\n\n## Eclipse IDE\n\nA ready-for-action eclipse IDE with \n\n * CMake\n * GCC\n * conan.io\n * docker-engine\n\ninstalled can be started by\n\n```bash\ndocker run -e /tmp/.X11-unix:/tmp/.X11-unix:ro -D DISPLAY bernddoser/docker-devel-cpp:ubuntu-16.04-cmake-3.10-gcc-7-conan-1.0-docker-17.12-eclipse-4.7.2\n```\n\nor using docker-compose by\n\n```yaml\nversion: \"3\"\nservices:\n\n  eclipse:\n    image: bernddoser/docker-devel-cpp:ubuntu-16.04-cmake-3.10-gcc-7-conan-1.0-docker-17.12-eclipse-4.7.2\n    volumes:\n      - /tmp/.X11-unix:/tmp/.X11-unix:ro \n      - /var/run/docker.sock:/var/run/docker.sock\n      - home:/home/eclipse:rw\n    environment:\n      - DISPLAY\n\nvolumes:\n  home:\n```\n\n## Jenkins build container\n\nA declarative Jenkinsfile can look like\n\n```groovy\npipeline {\n\n  agent {\n    docker {\n      image 'bernddoser/docker-devel-cpp:ubuntu-16.04-cmake-3.10-clang-6-conan-1.0'\n    }\n  }\n\n  stages {\n    stage('Conan') {\n      steps {\n        sh 'conan install .'\n      }\n    }\n    stage('CMake') {\n      steps {\n        sh 'cmake .'\n      }\n    }\n    stage('Build') {\n      steps {\n        sh 'make all'\n      }\n    }\n    stage('Test') {\n      steps {\n        sh 'make test'\n      }\n    }\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbernddoser%2Fdocker-devel-cpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbernddoser%2Fdocker-devel-cpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbernddoser%2Fdocker-devel-cpp/lists"}