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

Commit

Permalink
added the link to the directory
Browse files Browse the repository at this point in the history
  • Loading branch information
villadalmine committed Nov 16, 2016
1 parent 7d83564 commit 892b9ae
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ RUN mkdir -p /tmp/comanage && cd /tmp/comanage && \
tar xf $VERSION.tar.gz && \
mv $COMANAGE_PREFIX-$VERSION /opt/comanage/. && \
ln -s /opt/comanage/$VERSION /opt/comanage/current && \
mkdir /var/cache/registry && \
ln -s /var/cache/registry /opt/comanage/$COMANAGE_PREFIX-$VERSION/local/tmp && \
# # Cleanup
rm -rf /tmp/comanage

Expand Down
12 changes: 8 additions & 4 deletions container_files/bin/configure_php.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,14 @@ else
fi
date >> $log
echo "Preparing for cache" >> $log
mkdir -p /opt/comanage/comanage-registry-$VERSION/local/tmp/cache/persistent && \
mkdir -p /opt/comanage/comanage-registry-$VERSION/local/tmp/cache/models && \
chmod -R 777 /opt/comanage/comanage-registry-$VERSION/local/tmp/cache && \
chown -R apache:apache /opt/comanage/comanage-registry-$VERSION/local/tmp/cache && \
mkdir -p /var/cache/registry/cache/persistent && \
mkdir -p /var/cache/registry/cache/models && \
mkdir -p /var/cache/registry/logs && \
mkdir -p /var/cache/registry/sessions && \
mkdir -p /var/cache/registry/tests && \
chmod -R 700 /var/cache/registry && \
chown -R apache:apache /var/cache/registry && \
chown -R apache:apache /opt/comanage/comanage-registry-$VERSION/local
echo "Cache status: " >> $log
ls -la /opt/comanage/comanage-registry-$VERSION/local/tmp/cache >> $log

Expand Down

0 comments on commit 892b9ae

Please sign in to comment.