Skip to content

Commit

Permalink
Don't strip documentation from analytics-base container
Browse files Browse the repository at this point in the history
A follow up to commit e62c5d2, removing 'nodocs' from yum.conf to
disable stripping of the documentation files, which are used for
displaying browseable HTML documentation over analytics-api port.

Closes-Bug: #1765481
Change-Id: I0567b222e787be760e435271affd7fe2d39f4601
  • Loading branch information
kklimonda committed Apr 20, 2018
1 parent e62c5d2 commit 4d96e71
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion containers/analytics/base/Dockerfile
Expand Up @@ -2,7 +2,8 @@ ARG CONTRAIL_REGISTRY
ARG CONTRAIL_CONTAINER_TAG
FROM ${CONTRAIL_REGISTRY}/contrail-base:${CONTRAIL_CONTAINER_TAG}

RUN yum install -y contrail-analytics python-sqlalchemy && \
RUN sed -e '/^tsflags=nodocs/d' -i /etc/yum.conf && \
yum install -y contrail-analytics python-sqlalchemy && \
yum clean all -y && \
rm -rf /var/cache/yum

Expand Down

0 comments on commit 4d96e71

Please sign in to comment.