{"id":18967099,"url":"https://github.com/alexandreelise/install-gcc","last_synced_at":"2026-04-08T20:45:47.226Z","repository":{"id":175907881,"uuid":"654676702","full_name":"alexandreelise/install-gcc","owner":"alexandreelise","description":"Optimized Dockerfile to install gcc on any Ubuntu LTS version since Ubuntu 14.04 LTS  latest available on each platform at the time of writing.","archived":false,"fork":false,"pushed_at":"2023-06-16T20:43:03.000Z","size":32,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-26T00:08:23.605Z","etag":null,"topics":["c","cpp","devops-tools","docker-container","docker-image","dockerfile","dockerfile-linux","fortran","gcc","go","golang","objective-c","ubuntu","ubuntu1404","ubuntu1604","ubuntu1804"],"latest_commit_sha":null,"homepage":"https://github.com/alexandreelise/install-gcc","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alexandreelise.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}},"created_at":"2023-06-16T17:05:53.000Z","updated_at":"2024-10-25T02:37:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"a905e711-9734-4bad-905a-eaf931be1526","html_url":"https://github.com/alexandreelise/install-gcc","commit_stats":{"total_commits":13,"total_committers":1,"mean_commits":13.0,"dds":0.0,"last_synced_commit":"010c3d6cdc7bbfff71b708c4b0f00d9a38f5ef61"},"previous_names":["alexandreelise/install-gcc"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/alexandreelise/install-gcc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexandreelise%2Finstall-gcc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexandreelise%2Finstall-gcc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexandreelise%2Finstall-gcc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexandreelise%2Finstall-gcc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexandreelise","download_url":"https://codeload.github.com/alexandreelise/install-gcc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexandreelise%2Finstall-gcc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31573788,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["c","cpp","devops-tools","docker-container","docker-image","dockerfile","dockerfile-linux","fortran","gcc","go","golang","objective-c","ubuntu","ubuntu1404","ubuntu1604","ubuntu1804"],"created_at":"2024-11-08T14:39:34.058Z","updated_at":"2026-04-08T20:45:47.210Z","avatar_url":"https://github.com/alexandreelise.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# INSTALL GCC LATEST ON ANY UBUNTU LTS SINCE UBUNTU 14.04 LTS\nOptimized Dockerfile to install gcc on any Ubuntu LTS version since Ubuntu 14.04 LTS  latest available on each platform at the time of writing.\n\n\u003e**DISCLAIMER: PLEASE BE CAREFUL WHEN YOU TYPE THOSE INSTRUCTIONS REVIEW THEN THOUROUGHLLY. \n\u003eI WILL NOT BE RESPONSIBLE OF ANY DAMAGE, DATA LOSS, LOSS OF TRUST, LOSS OF MONEY OF ANY KIND.\n\u003eDON'T JUST COPY PASTE ANYTHING ON THE INTERNET DIRECTLY ON YOUR PRODUCTION SERVERS WITHOUT CAREFUL REVIEW AND SECURITY TESTS.\n\u003eTHIS CODE IS MEANT TO BE USE ON DEV ENVIRONMENT AND FOR TESTING PURPOSE. \n\u003eIF YOU FEEL OK WITH EVERYTHING I JUST SAID BEFORE, FEEL FREE TO PROCEED.\n\u003eOTHERWISE, DO NOT USE IT** \n\n\n\u003e My original script can be found on my old GitHub account (just for reference) prefer using this repo rather than the old one\n\u003e https://gist.github.com/application2000/73fd6f4bf1be6600a2cf9f56315a2d91#file-how-to-install-latest-gcc-on-ubuntu-lts-txt\n\n## PRE-REQUISITE:\n- You know want Docker is (If not : https://www.docker.com)\n- You have latest version of Docker installed on your machine\n- You have latest git version on your machine\n- You understand how a Dockerfile works (If not : https://docs.docker.com/engine/reference/builder/)\n- You are not scared of using the Terminal  or command-line tools\n- Don't worry you'll be ok. Give it a try\n\n## DOCKER IMAGES ON DOCKER HUB\n\u003e https://hub.docker.com/repository/docker/alexandreelise/install-gcc\n\n## USAGE\nTo create an Docker image locally on your machine. Please follow those instructions (E.g. build image gcc 9 on Ubuntu 14.04 LTS)\n\n```sh\ngit clone https://github.com/alexandreelise/install-gcc \u0026\u0026 \\\ncd install-gcc \u0026\u0026 \\\ndocker image build --build-arg BASE_IMAGE=ubuntu:14.04 --build-arg WANTED_GCC_VERSION=9 -f Dockerfile -t 'yourusername/install-gcc:9-ubuntu-14.04' .\n\n```\n\n## EXTRA\nIf you prefer using the multi-build.sh script to build all the combinations of Ubuntu LTS versions and gcc versions at once you can tweak the provided script or use it as is\n\n\n```sh\n\ngit clone https://github.com/alexandreelise/install-gcc \u0026\u0026 \\\ncd install-gcc \u0026\u0026 \\\nchmod 700 multi-build.sh \u0026\u0026 \\\n./multi-build.sh\n\n```\n\n## NOTE\nDoes not work anymore with Ubuntu 12.04 LTS (image not found)\n\n## SPECIAL THANKS:\nSpecial thanks to the Ubuntu community, Gcc community and Docker community.\n\n## SHARING IS CARING\n\u003e If you find this repo useful to you consider give it a star, fork it share it with whom it might be useful too\n\u003e https://github.com/alexandreelise/install-gcc\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexandreelise%2Finstall-gcc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexandreelise%2Finstall-gcc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexandreelise%2Finstall-gcc/lists"}