{"id":13714318,"url":"https://github.com/GabrielGSD/fullcycle-challenge-go","last_synced_at":"2025-05-07T01:33:22.183Z","repository":{"id":185629090,"uuid":"616770654","full_name":"GabrielGSD/fullcycle-challenge-go","owner":"GabrielGSD","description":"Este é o repositório destinado ao Desafio Go do curso FullCycle. Neste projeto, foi desenvolvida uma aplicação simples escrita em Go que tem como objetivo imprimir a mensagem \"Full Cycle Rocks!!\". O desafio consiste em publicar uma imagem Docker no Docker Hub com menos de 2MB que, quando executada, exiba essa mensagem como resultado final.","archived":false,"fork":false,"pushed_at":"2023-03-21T03:45:25.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-03T23:30:18.903Z","etag":null,"topics":["docker","fullcycle","go","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","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/GabrielGSD.png","metadata":{"files":{"readme":"README","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-03-21T03:26:39.000Z","updated_at":"2023-03-21T03:34:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"dc030a81-788f-495d-b7d9-b68d692fa311","html_url":"https://github.com/GabrielGSD/fullcycle-challenge-go","commit_stats":null,"previous_names":["gabrielgsd/fullcycle-challenge-go"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GabrielGSD%2Ffullcycle-challenge-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GabrielGSD%2Ffullcycle-challenge-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GabrielGSD%2Ffullcycle-challenge-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GabrielGSD%2Ffullcycle-challenge-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GabrielGSD","download_url":"https://codeload.github.com/GabrielGSD/fullcycle-challenge-go/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224551221,"owners_count":17330103,"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":["docker","fullcycle","go","golang"],"created_at":"2024-08-02T23:01:56.930Z","updated_at":"2024-11-14T01:30:59.446Z","avatar_url":"https://github.com/GabrielGSD.png","language":"Go","funding_links":[],"categories":["Repositories"],"sub_categories":[],"readme":"# Projeto Go\n\nEste é um projeto em Go que inclui dois arquivos Dockerfile para construir e executar o aplicativo.\n\n## Build e execução com Docker\n\nPara construir a imagem Docker do aplicativo, use o seguinte comando:\n``docker build -t gabrielgsd/go:dev .``\n\nEm seguida, execute o aplicativo no container com o comando:\n``docker run gabrielgsd/go:dev``\n### Multi-stage build\n\nPara construir a imagem Docker utilizando o Dockerfile.multistage, execute o seguinte comando:\n``docker build -f Dockerfile.multistage -t gabrielgsd/go:multistage .``\nou\n``docker build -t gabrielgsd/go:multistage go -f go/Dockerfile.multistage``\n\nPor fim, execute o aplicativo no container com o comando:\n``docker run gabrielgsd/go:multistage``\n\nLembre-se que este projeto utiliza o Go Modules. Para iniciar um novo projeto Go em um diretório vazio, utilize o seguinte comando:\n``go mod init \u003cnome-do-seu-projeto\u003e``\n\n### Docker Hub\nAlém disso, a imagem foi publicada no Docker Hub (https://hub.docker.com/r/gabrielgsd/go), permitindo que outros usuários possam facilmente utilizar a aplicação. Para obter a imagem, basta executar o seguinte comando:\n``docker pull gabrielgsd/go`` \n\nEm seguida, testar a aplicação:\n``docker run gabrielgsd/go.``\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGabrielGSD%2Ffullcycle-challenge-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FGabrielGSD%2Ffullcycle-challenge-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGabrielGSD%2Ffullcycle-challenge-go/lists"}