4b17459 Reduce image size by setting git clone depth
📊 Changes
1 file changed (+2 additions, -2 deletions)
View changed files
📝Dockerfile (+2 -2)
📄 Description
Reduce the git clone depth to 1 will make the image size smaller, for more than 100MB!
$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
docker-osx-new latest 35f286bfee15 1 minutes ago 3.32GB
docker-osx-old latest e476cc91939f 9 minutes ago 3.44GB
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/sickcodes/Docker-OSX/pull/110
**Author:** [@PeterDaveHello](https://github.com/PeterDaveHello)
**Created:** 12/15/2020
**Status:** ✅ Merged
**Merged:** 12/16/2020
**Merged by:** [@sickcodes](https://github.com/sickcodes)
**Base:** `master` ← **Head:** `git-clone-depth-1`
---
### 📝 Commits (1)
- [`4b17459`](https://github.com/sickcodes/Docker-OSX/commit/4b17459897228bb252b5d3a9db09080df9f50763) Reduce image size by setting git clone depth
### 📊 Changes
**1 file changed** (+2 additions, -2 deletions)
<details>
<summary>View changed files</summary>
📝 `Dockerfile` (+2 -2)
</details>
### 📄 Description
Reduce the `git clone` depth to 1 will make the image size smaller, for more than 100MB!
```
$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
docker-osx-new latest 35f286bfee15 1 minutes ago 3.32GB
docker-osx-old latest e476cc91939f 9 minutes ago 3.44GB
```
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/sickcodes/Docker-OSX/pull/110
Author: @PeterDaveHello
Created: 12/15/2020
Status: ✅ Merged
Merged: 12/16/2020
Merged by: @sickcodes
Base:
master← Head:git-clone-depth-1📝 Commits (1)
4b17459Reduce image size by setting git clone depth📊 Changes
1 file changed (+2 additions, -2 deletions)
View changed files
📝
Dockerfile(+2 -2)📄 Description
Reduce the
git clonedepth to 1 will make the image size smaller, for more than 100MB!🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.