Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
chubing authored Jun 16, 2017
1 parent 1088b4a commit 8f7bfe8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,11 @@ RUN mkdir -p /opt/comanage && cd /opt/comanage && \
git clone -b feature-3.1 https://github.com/Internet2/comanage-registry.git && \
mv comanage-registry $COMANAGE_PREFIX-$VERSION && \
ln -s /opt/comanage/$COMANAGE_PREFIX-$VERSION /opt/comanage/current && \
ln -s /var/cache/registry /opt/comanage/$COMANAGE_PREFIX-$VERSION/local/tmp && \
mkdir /var/cache/registry && \
cp -r /opt/comanage/current/app/tmp.dist /var/cache/registry && \
chown -R apache /var/cache/registry && \
chmod -R 700 /var/cache/registry
chmod -R 700 /var/cache/registry && \
ln -s /var/cache/registry /opt/comanage/current/local tmp

ENV COMANAGE_HOME /opt/comanage/current

Expand Down

0 comments on commit 8f7bfe8

Please sign in to comment.