Skip to content

Commit

Permalink
Merge pull request #13 from devilbox/release-0.10
Browse files Browse the repository at this point in the history
Fix #10 WDSL via SOAP directory permissions
  • Loading branch information
cytopia authored Apr 21, 2018
2 parents 41ce375 + df2a62f commit 48227f5
Show file tree
Hide file tree
Showing 8 changed files with 39 additions and 7 deletions.
6 changes: 5 additions & 1 deletion Dockerfiles/base/Dockerfile-5.4
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@ RUN set -x \
###
RUN set -x \
&& rm -rf /usr/local/etc/php-fpm.d \
&& mkdir -p /usr/local/etc/php-fpm.d
&& mkdir -p /usr/local/etc/php-fpm.d \
&& mkdir -p /var/lib/php/session \
&& mkdir -p /var/lib/php/wsdlcache \
&& chown -R devilbox:devilbox /var/lib/php/session \
&& chown -R devilbox:devilbox /var/lib/php/wsdlcache


###
Expand Down
6 changes: 5 additions & 1 deletion Dockerfiles/base/Dockerfile-5.5
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@ RUN set -x \
###
RUN set -x \
&& rm -rf /usr/local/etc/php-fpm.d \
&& mkdir -p /usr/local/etc/php-fpm.d
&& mkdir -p /usr/local/etc/php-fpm.d \
&& mkdir -p /var/lib/php/session \
&& mkdir -p /var/lib/php/wsdlcache \
&& chown -R devilbox:devilbox /var/lib/php/session \
&& chown -R devilbox:devilbox /var/lib/php/wsdlcache


###
Expand Down
6 changes: 5 additions & 1 deletion Dockerfiles/base/Dockerfile-5.6
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@ RUN set -x \
###
RUN set -x \
&& rm -rf /usr/local/etc/php-fpm.d \
&& mkdir -p /usr/local/etc/php-fpm.d
&& mkdir -p /usr/local/etc/php-fpm.d \
&& mkdir -p /var/lib/php/session \
&& mkdir -p /var/lib/php/wsdlcache \
&& chown -R devilbox:devilbox /var/lib/php/session \
&& chown -R devilbox:devilbox /var/lib/php/wsdlcache


###
Expand Down
6 changes: 5 additions & 1 deletion Dockerfiles/base/Dockerfile-7.0
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@ RUN set -x \
###
RUN set -x \
&& rm -rf /usr/local/etc/php-fpm.d \
&& mkdir -p /usr/local/etc/php-fpm.d
&& mkdir -p /usr/local/etc/php-fpm.d \
&& mkdir -p /var/lib/php/session \
&& mkdir -p /var/lib/php/wsdlcache \
&& chown -R devilbox:devilbox /var/lib/php/session \
&& chown -R devilbox:devilbox /var/lib/php/wsdlcache


###
Expand Down
6 changes: 5 additions & 1 deletion Dockerfiles/base/Dockerfile-7.1
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@ RUN set -x \
###
RUN set -x \
&& rm -rf /usr/local/etc/php-fpm.d \
&& mkdir -p /usr/local/etc/php-fpm.d
&& mkdir -p /usr/local/etc/php-fpm.d \
&& mkdir -p /var/lib/php/session \
&& mkdir -p /var/lib/php/wsdlcache \
&& chown -R devilbox:devilbox /var/lib/php/session \
&& chown -R devilbox:devilbox /var/lib/php/wsdlcache


###
Expand Down
6 changes: 5 additions & 1 deletion Dockerfiles/base/Dockerfile-7.2
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@ RUN set -x \
###
RUN set -x \
&& rm -rf /usr/local/etc/php-fpm.d \
&& mkdir -p /usr/local/etc/php-fpm.d
&& mkdir -p /usr/local/etc/php-fpm.d \
&& mkdir -p /var/lib/php/session \
&& mkdir -p /var/lib/php/wsdlcache \
&& chown -R devilbox:devilbox /var/lib/php/session \
&& chown -R devilbox:devilbox /var/lib/php/wsdlcache


###
Expand Down
4 changes: 4 additions & 0 deletions Dockerfiles/base/data/docker-entrypoint.d/01-uid-gid.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ set_uid() {
log "info" "Changing user '${username}' uid to: ${uid}" "${debug}"
run "usermod -u ${uid} ${username}" "${debug}"
run "chown -R ${username} ${homedir}" "${debug}"
run "chown -R ${username} /var/lib/php/session" "${debug}"
run "chown -R ${username} /var/lib/php/wsdlcache" "${debug}"
fi
fi
}
Expand Down Expand Up @@ -102,6 +104,8 @@ set_gid() {
log "info" "Changing group '${groupname}' gid to: ${gid}" "${debug}"
run "groupmod -g ${gid} ${groupname}" "${debug}"
run "chown -R :${groupname} ${homedir}" "${debug}"
run "chown -R :${groupname} /var/lib/php/session" "${debug}"
run "chown -R :${groupname} /var/lib/php/wsdlcache" "${debug}"
fi
fi
}
Expand Down
6 changes: 5 additions & 1 deletion build/ansible/DOCKERFILES/Dockerfile-base.j2
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@ RUN set -x \
###
RUN set -x \
&& rm -rf /usr/local/etc/php-fpm.d \
&& mkdir -p /usr/local/etc/php-fpm.d
&& mkdir -p /usr/local/etc/php-fpm.d \
&& mkdir -p /var/lib/php/session \
&& mkdir -p /var/lib/php/wsdlcache \
&& chown -R devilbox:devilbox /var/lib/php/session \
&& chown -R devilbox:devilbox /var/lib/php/wsdlcache


###
Expand Down

0 comments on commit 48227f5

Please sign in to comment.