alzo91 / docker-fc-challenge-01

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Desafio 1, fullcycle go
  • The Challenge is handling image and show the message (Fullcycle rocks!) after running the container
Running by dev mode
  • Building image
  1. ```docker build -t zotarelli/challenge_go:latest . -f Dockerfile``
  • Using image which was built
  1. just run: docker run --rm --name challenge-go zotarelli/challenge_go:latest
  2. entering: docker run --rm -it --name challenge-go zotarelli/challenge_go:latest bash
  • the result is expected
  1. => Fullcycle rocks !!!
Running as production
  • Building image
  1. docker build -t zotarelli/challenge_go:prod . -f Dockerfile.prod
  • Using image which was built
  1. docker run --rm -it --name challenge-go zotarelli/challenge_go:prod
Shrinking Docker Images

Screenshot from 2024-01-03 21-42-47

Images were published

About


Languages

Language:Dockerfile 61.8%Language:Go 38.2%