Commit Graph

15 Commits

Author SHA1 Message Date
Yan 4eba01fc31 Clean make file unused code and unify docker build method (#59)
Signed-off-by: Yan <wangyan@vmware.com>
2018-09-04 17:18:15 +08:00
Daniel Jiang 6c664ee993 Update photon base images (#5346)
This commit update the base photon image from vmware/photon:1.0 to
photon:1.0, per suggestion by photon team.
2018-07-19 20:45:20 +08:00
Tan Jiang f83c65bcc5 Reduce the output of build.
The following are done to avoid travis-ci failing due to too much log
size.
1) Update Makefile and scripts to make go build less verbose.
2) Make tdnf less verbose
2018-02-27 20:54:52 +08:00
wangyan b560f6c061 Remove the workaroud for avoiding photon distro-sync error 2017-12-19 21:10:32 -08:00
wangyan 6b7df3636c Temporary workaround for photon distro-sync error 2017-12-18 22:18:21 -08:00
Tan Jiang 6d7c028729 Refine the Dockerfile
Refine the Dockerfile to remove temporary workarounds.
Also fixes #3587, to make sure the configuration files of rsyslog can be
read by uid 10000.
2017-11-13 18:04:17 +08:00
Wenkai Yin 66b9699ac2 Improve log rotation configurability 2017-11-09 14:33:05 +08:00
reasonerjt 9382cac934 Remove the Dockerfile of rsyslog image 2017-11-05 21:52:23 -08:00
root 6f335bdb1a Deprivilege harobr-log, harbor-db, registry image.
This change involves using non-root user to run the process of the
docker images.  Also made update in Dockerfile to make the containers
support "read-only" and introduce "HEALTHCHECK". Note the "read-only"
options are not enabled in docker-compose, to cover the very corner
case when user wants to update the container filesystem manually.

Remove read only option from docker-compose template by default
2017-11-02 23:35:06 -07:00
Wenkai Yin bc3d859571 make log rotate days configurable 2017-10-16 17:09:28 +08:00
yixingj 2762eec4ed Prepare rsyslog docker based on photon 2017-07-03 17:57:46 +08:00
dejwsz 719072e0ba remove rsyslogd.pid before start to allow container restarts
This change mitigate problems with container restarts (stop, start) or automatic restart after host machine restart. Rsyslogd strictly checks existence of its pid file and won't start if such one exists.
2016-12-01 15:31:14 +01:00
Tan Jiang b868634007 update version of photon OS to 1.0 in Docker files 2016-11-21 16:15:43 +08:00
Wenkai Yin 0689935da4 log rotate 2016-10-26 18:26:02 +08:00
yhua 311cf8da07 change code 20161019 2016-10-21 18:39:10 +08:00