corretto / corretto-8-docker

Dockerfiles for Amazon Corretto 8
MIT No Attribution
195 stars 40 forks source link

Remove has binary files and weights 76.71MB #2

Closed Mart-Bogdan closed 6 years ago

Mart-Bogdan commented 6 years ago

Remove binary files from history. Despite being delted git clone takes 76 Mb

>docker build -t amazon-corretto-8 github.com/corretto/corretto-8-docker
Sending build context to Docker daemon  76.71MB
Step 1/3 : FROM amazonlinux:2

consider using force-push from new local repo, or use tool like filter-branch, rebase -i or BFG to remove binary bloat

EricEdens commented 6 years ago

Good catch, @Mart-Bogdan! I'm fine removing the RPMs after YUM finishes installing them.

nbihan-mediware commented 6 years ago

@EricEdens, that is a good fix but not related to the issue. This issue was about removing binaries from the repo so it is not that big.