Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add .dockerignore file #69

Open
haani-niyaz opened this issue Aug 1, 2022 · 0 comments · May be fixed by #85
Open

Add .dockerignore file #69

haani-niyaz opened this issue Aug 1, 2022 · 0 comments · May be fixed by #85
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@haani-niyaz
Copy link
Collaborator

haani-niyaz commented Aug 1, 2022

The current Dockerfile does a copy all via COPY . . without any filtering on what is in the working directory. We should add a .dockerignore file to eliminate bloat. The current landscape has many things that can be ignored:

.
├── Dockerfile
├── LICENSE
├── Makefile
├── README.md
├── bin
│   └── app
├── cmd
│   └── main.go
├── coverage.out
├── docs
│   ├── continuous-integration
│   │   ├── gitleaks.md
│   │   ├── golangci-lint.md
│   │   ├── goreleaser.md
│   │   ├── img
│   │   │   └── mkdocs-gh-pages.png
│   │   ├── mkdocs-material.md
│   │   ├── pre-commit.md
│   │   └── semantic-release.md
│   ├── index.md
│   └── quickstart.md
├── go.mod
└── mkdocs.yml

Acceptance Criteria

  1. Add a .dockerignore file to ignore docs, binaries, test artefacts, github actions etc.
@haani-niyaz haani-niyaz added enhancement New feature or request good first issue Good for newcomers labels Aug 1, 2022
@gentildpinto gentildpinto linked a pull request Mar 1, 2023 that will close this issue
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant