about summary refs log tree commit diff
path: root/tools/govanity/go.mod
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2021-08-14 14:52:36 -0700
committerFranck Cuny <franck@fcuny.net>2021-08-14 14:52:36 -0700
commit714b3309ec5c8d7d4881ba2965be84b3a49b76b8 (patch)
treeb0ab6d91b4c2b33ad71ef7446788217807c98529 /tools/govanity/go.mod
parentconfig: add vanity (diff)
downloadworld-714b3309ec5c8d7d4881ba2965be84b3a49b76b8.tar.gz
build: trim the size of the Docker container
Prior to this change, the size of the image was about 300MB:
```
; docker images|grep fcuny/golang|grep days
fcuny/golang.fcuny.net             d07add42f21a69e2c057eae8492bbd599dc50082   9fd284c5d8ee   2 days ago       313MB
fcuny/golang.fcuny.net             ca3dd083f8d6642821781ce03829713524322bbe   8104afadfd1f   2 days ago       313MB
```

With this change, we're reducing the image to less than 10MB:
```
fcuny/golang.fcuny.net             19b3dccc1ff31534df3636d4d7d6a28c0ae1e189   c9ae35574f8e   24 seconds ago       9.09MB
```

Since there's storage and bandwidth involved in this process, there's no
point in not going for a smaller image.
Diffstat (limited to 'tools/govanity/go.mod')
0 files changed, 0 insertions, 0 deletions