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

Adding cache directory and perms setting #19

Merged
1 commit merged into from
Sep 22, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ RUN ln -s /opt/etc/httpd/conf.d/ports.conf /etc/httpd/conf.d/ports.conf && \
ln -s /opt/comanage/comanage-registry-1.0.5/app/webroot /var/www/html/registry && \
rm /etc/httpd/conf/httpd.conf && \
ln -s /opt/etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf && \
mkdir -p /opt/comanage/comanage-registry-$version/local/tmp/cache/persistent && \
chmod 777 /opt/comanage/comanage-registry-$version/local/tmp/cache/persistent && \
/opt/autoexec/bin/onbuild.sh


Expand Down
6 changes: 6 additions & 0 deletions tests/image.bats
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,9 @@ load ../common
skip
docker run -i $maintainer/$imagename ls -la /opt/autoexec/bin/firstrun.sh
}

@test "Cache directory created" {
docker run -i $maintainer/$imagename find /opt/comanage/comanage-registry-1.0.5/app/tmp/cache/persistent/
}