-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
prepare automatic security scanning (#122)
* add todo for docker wait * add makefile target to scan containers with trivy * pin version of trivy in travis file * add trivy cache to persistent storage of travis (commented since not part of ci for the moment) * reorg travis file + remove goss as it is not used * add a fixed version for the base image * add file with tags to gitignore * introduce tag-all target * remove after_failure step * add ignore file for trivy * store the tag for the builder as well * remove tag_file after completing scans * replace manual build and publish commands with generated ones * update kdav builder to resolve CVE-2019-3855 * ignore CVE-2019-3855 which is thrown in kdav build container * exclude the build-webapp-demo from build-all
- Loading branch information
Showing
5 changed files
with
57 additions
and
31 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ data/* | |
.env | ||
*.env | ||
docker-compose.override.yml | ||
build.tags |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# we're not using systemd | ||
CVE-2017-1000082 | ||
|
||
# tar setuid issue | ||
CVE-2005-2541 | ||
|
||
# libssh2 issue not relevant since not using ssh | ||
CVE-2019-3855 |
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 |
---|---|---|
|
@@ -3,6 +3,8 @@ FROM debian:stretch | |
LABEL [email protected] \ | ||
version="2.0" | ||
|
||
ENV BASE_VERSION=1.0 | ||
|
||
RUN mkdir -p /kopano/repo /kopano/data /kopano/helper /kopano/path | ||
WORKDIR /kopano/repo | ||
|
||
|
@@ -46,6 +48,6 @@ ARG RELEASE_KEY_DOWNLOAD=0 | |
# get common utilities | ||
COPY create-kopano-repo.sh /kopano/helper/ | ||
COPY kcconf.py /kopano/ | ||
RUN date +%s > /kopano/buildversion | ||
RUN echo $BASE_VERSION > /kopano/buildversion | ||
|
||
SHELL [ "/bin/bash", "-c"] |