-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Docker: use 'golang:alpine' base & install mailcap for mime-type support
Update changelog to reflect this
- Loading branch information
1 parent
1d7a4c5
commit 68d9799
Showing
2 changed files
with
12 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
Bugfix: Set CGO_ENABLED flag for 'scratch' based docker builds | ||
Bugfix: Set 'golang:alpine' as revad base image & CGO_ENABLED flag for 'scratch' based docker builds | ||
|
||
Some of the dependencies used by revad need CGO to be enabled in order to | ||
work. We also need to install the 'mime-types' in alpine to correctly | ||
detect them on the storage-providers. | ||
|
||
The CGO_ENABLED=0 flag was added to the docker build flags so that it will | ||
produce a static build. This allows usage of the 'scratch' image for | ||
reduction of the docker image size. | ||
reduction of the docker image size (e.g. the reva cli). | ||
|
||
https://github.com/cs3org/reva/issues/1765 | ||
https://github.com/cs3org/reva/pull/1766 | ||
https://github.com/cs3org/reva/pull/1766 | ||
https://github.com/cs3org/reva/pull/1797 |