You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by da...@apache.org on 2019/03/27 18:54:52 UTC

[trafficcontrol] branch master updated: CIAB: update postgres version to 9.6-alpine (#3439)

This is an automated email from the ASF dual-hosted git repository.

dangogh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git


The following commit(s) were added to refs/heads/master by this push:
     new 89f74d0  CIAB: update postgres version to 9.6-alpine (#3439)
89f74d0 is described below

commit 89f74d0b4e0c3a6c52643a3a97f7c62f42842171
Author: Shihta Kuan <Sh...@users.noreply.github.com>
AuthorDate: Thu Mar 28 02:54:47 2019 +0800

    CIAB: update postgres version to 9.6-alpine (#3439)
---
 infrastructure/cdn-in-a-box/traffic_ops/Dockerfile-db | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/infrastructure/cdn-in-a-box/traffic_ops/Dockerfile-db b/infrastructure/cdn-in-a-box/traffic_ops/Dockerfile-db
index f05c12d..42dbfef 100644
--- a/infrastructure/cdn-in-a-box/traffic_ops/Dockerfile-db
+++ b/infrastructure/cdn-in-a-box/traffic_ops/Dockerfile-db
@@ -19,10 +19,10 @@
 # Dockerfile for trafficops db
 ############################################################
 
-FROM postgres:9.6.6
+FROM postgres:9.6-alpine
 
 ENV POSTGRES_PASSWORD=$POSTGRES_PASSWORD
-RUN apt-get update && apt-get install -y dnsutils net-tools
+RUN apk add bind-tools
 COPY traffic_ops/initdb.d /docker-entrypoint-initdb.d
 COPY traffic_ops/run-db.sh /
 ENTRYPOINT /run-db.sh