File tree Expand file tree Collapse file tree
base/data/docker-entrypoint.d
build/ansible/group_vars/all Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ set_uid() {
6161 # Change uid and fix homedir permissions
6262 log " info" " Changing user '${username} ' uid to: ${uid} " " ${debug} "
6363 run " usermod -u ${uid} ${username} " " ${debug} "
64- run " chown -R ${username} ${homedir} " " ${debug} "
64+ run " chown -R ${username} ${homedir} || true " " ${debug} "
6565 run " chown -R ${username} /var/lib/php/session" " ${debug} "
6666 run " chown -R ${username} /var/lib/php/wsdlcache" " ${debug} "
6767 fi
@@ -103,7 +103,7 @@ set_gid() {
103103 # Change ugd and fix homedir permissions
104104 log " info" " Changing group '${groupname} ' gid to: ${gid} " " ${debug} "
105105 run " groupmod -g ${gid} ${groupname} " " ${debug} "
106- run " chown -R :${groupname} ${homedir} " " ${debug} "
106+ run " chown -R :${groupname} ${homedir} || true " " ${debug} "
107107 run " chown -R :${groupname} /var/lib/php/session" " ${debug} "
108108 run " chown -R :${groupname} /var/lib/php/wsdlcache" " ${debug} "
109109 fi
Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ RUN set -eux \
191191 \
192192 \
193193# -------------------- mhsendmail --------------------
194- && wget --no-hsts https://github.com/devilbox/mhsendmail/releases/download/v0.3.0/mhsendmail_linux_amd64 \
194+ && curl -sS -L https://github.com/devilbox/mhsendmail/releases/download/v0.3.0/mhsendmail_linux_amd64 > mhsendmail_linux_amd64 \
195195&& chmod +x mhsendmail_linux_amd64 \
196196&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail \
197197 \
Original file line number Diff line number Diff line change @@ -208,7 +208,7 @@ RUN set -eux \
208208 \
209209 \
210210# -------------------- mhsendmail --------------------
211- && wget --no-hsts https://github.com/devilbox/mhsendmail/releases/download/v0.3.0/mhsendmail_linux_amd64 \
211+ && curl -sS -L https://github.com/devilbox/mhsendmail/releases/download/v0.3.0/mhsendmail_linux_amd64 > mhsendmail_linux_amd64 \
212212&& chmod +x mhsendmail_linux_amd64 \
213213&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail \
214214 \
@@ -264,7 +264,7 @@ RUN set -eux \
264264 \
265265 \
266266# -------------------- phpmd --------------------
267- && wget --no-hsts https://phpmd.org/static/latest/phpmd.phar \
267+ && curl -sS -L https://phpmd.org/static/latest/phpmd.phar > phpmd.phar \
268268&& mv phpmd.phar /usr/local/bin/phpmd \
269269&& chmod +x /usr/local/bin/phpmd \
270270 \
Original file line number Diff line number Diff line change @@ -237,7 +237,7 @@ RUN set -eux \
237237 \
238238 \
239239# -------------------- mhsendmail --------------------
240- && wget --no-hsts https://github.com/devilbox/mhsendmail/releases/download/v0.3.0/mhsendmail_linux_amd64 \
240+ && curl -sS -L https://github.com/devilbox/mhsendmail/releases/download/v0.3.0/mhsendmail_linux_amd64 > mhsendmail_linux_amd64 \
241241&& chmod +x mhsendmail_linux_amd64 \
242242&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail \
243243 \
@@ -293,7 +293,7 @@ RUN set -eux \
293293 \
294294 \
295295# -------------------- phpmd --------------------
296- && wget --no-hsts https://phpmd.org/static/latest/phpmd.phar \
296+ && curl -sS -L https://phpmd.org/static/latest/phpmd.phar > phpmd.phar \
297297&& mv phpmd.phar /usr/local/bin/phpmd \
298298&& chmod +x /usr/local/bin/phpmd \
299299 \
Original file line number Diff line number Diff line change @@ -241,7 +241,7 @@ RUN set -eux \
241241 \
242242 \
243243# -------------------- mhsendmail --------------------
244- && wget --no-hsts https://github.com/devilbox/mhsendmail/releases/download/v0.3.0/mhsendmail_linux_amd64 \
244+ && curl -sS -L https://github.com/devilbox/mhsendmail/releases/download/v0.3.0/mhsendmail_linux_amd64 > mhsendmail_linux_amd64 \
245245&& chmod +x mhsendmail_linux_amd64 \
246246&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail \
247247 \
@@ -298,7 +298,7 @@ RUN set -eux \
298298 \
299299 \
300300# -------------------- phpmd --------------------
301- && wget --no-hsts https://phpmd.org/static/latest/phpmd.phar \
301+ && curl -sS -L https://phpmd.org/static/latest/phpmd.phar > phpmd.phar \
302302&& mv phpmd.phar /usr/local/bin/phpmd \
303303&& chmod +x /usr/local/bin/phpmd \
304304 \
Original file line number Diff line number Diff line change @@ -254,7 +254,7 @@ RUN set -eux \
254254 \
255255 \
256256# -------------------- mhsendmail --------------------
257- && wget --no-hsts https://github.com/devilbox/mhsendmail/releases/download/v0.3.0/mhsendmail_linux_amd64 \
257+ && curl -sS -L https://github.com/devilbox/mhsendmail/releases/download/v0.3.0/mhsendmail_linux_amd64 > mhsendmail_linux_amd64 \
258258&& chmod +x mhsendmail_linux_amd64 \
259259&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail \
260260 \
@@ -311,7 +311,7 @@ RUN set -eux \
311311 \
312312 \
313313# -------------------- phpmd --------------------
314- && wget --no-hsts https://phpmd.org/static/latest/phpmd.phar \
314+ && curl -sS -L https://phpmd.org/static/latest/phpmd.phar > phpmd.phar \
315315&& mv phpmd.phar /usr/local/bin/phpmd \
316316&& chmod +x /usr/local/bin/phpmd \
317317 \
Original file line number Diff line number Diff line change @@ -254,7 +254,7 @@ RUN set -eux \
254254 \
255255 \
256256# -------------------- mhsendmail --------------------
257- && wget --no-hsts https://github.com/devilbox/mhsendmail/releases/download/v0.3.0/mhsendmail_linux_amd64 \
257+ && curl -sS -L https://github.com/devilbox/mhsendmail/releases/download/v0.3.0/mhsendmail_linux_amd64 > mhsendmail_linux_amd64 \
258258&& chmod +x mhsendmail_linux_amd64 \
259259&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail \
260260 \
@@ -311,7 +311,7 @@ RUN set -eux \
311311 \
312312 \
313313# -------------------- phpmd --------------------
314- && wget --no-hsts https://phpmd.org/static/latest/phpmd.phar \
314+ && curl -sS -L https://phpmd.org/static/latest/phpmd.phar > phpmd.phar \
315315&& mv phpmd.phar /usr/local/bin/phpmd \
316316&& chmod +x /usr/local/bin/phpmd \
317317 \
Original file line number Diff line number Diff line change @@ -254,7 +254,7 @@ RUN set -eux \
254254 \
255255 \
256256# -------------------- mhsendmail --------------------
257- && wget --no-hsts https://github.com/devilbox/mhsendmail/releases/download/v0.3.0/mhsendmail_linux_amd64 \
257+ && curl -sS -L https://github.com/devilbox/mhsendmail/releases/download/v0.3.0/mhsendmail_linux_amd64 > mhsendmail_linux_amd64 \
258258&& chmod +x mhsendmail_linux_amd64 \
259259&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail \
260260 \
@@ -311,7 +311,7 @@ RUN set -eux \
311311 \
312312 \
313313# -------------------- phpmd --------------------
314- && wget --no-hsts https://phpmd.org/static/latest/phpmd.phar \
314+ && curl -sS -L https://phpmd.org/static/latest/phpmd.phar > phpmd.phar \
315315&& mv phpmd.phar /usr/local/bin/phpmd \
316316&& chmod +x /usr/local/bin/phpmd \
317317 \
Original file line number Diff line number Diff line change @@ -254,7 +254,7 @@ RUN set -eux \
254254 \
255255 \
256256# -------------------- mhsendmail --------------------
257- && wget --no-hsts https://github.com/devilbox/mhsendmail/releases/download/v0.3.0/mhsendmail_linux_amd64 \
257+ && curl -sS -L https://github.com/devilbox/mhsendmail/releases/download/v0.3.0/mhsendmail_linux_amd64 > mhsendmail_linux_amd64 \
258258&& chmod +x mhsendmail_linux_amd64 \
259259&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail \
260260 \
@@ -312,7 +312,7 @@ RUN set -eux \
312312 \
313313 \
314314# -------------------- phpmd --------------------
315- && wget --no-hsts https://phpmd.org/static/latest/phpmd.phar \
315+ && curl -sS -L https://phpmd.org/static/latest/phpmd.phar > phpmd.phar \
316316&& mv phpmd.phar /usr/local/bin/phpmd \
317317&& chmod +x /usr/local/bin/phpmd \
318318 \
Original file line number Diff line number Diff line change @@ -254,7 +254,7 @@ RUN set -eux \
254254 \
255255 \
256256# -------------------- mhsendmail --------------------
257- && wget --no-hsts https://github.com/devilbox/mhsendmail/releases/download/v0.3.0/mhsendmail_linux_amd64 \
257+ && curl -sS -L https://github.com/devilbox/mhsendmail/releases/download/v0.3.0/mhsendmail_linux_amd64 > mhsendmail_linux_amd64 \
258258&& chmod +x mhsendmail_linux_amd64 \
259259&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail \
260260 \
@@ -298,7 +298,7 @@ RUN set -eux \
298298 \
299299 \
300300# -------------------- phpmd --------------------
301- && wget --no-hsts https://phpmd.org/static/latest/phpmd.phar \
301+ && curl -sS -L https://phpmd.org/static/latest/phpmd.phar > phpmd.phar \
302302&& mv phpmd.phar /usr/local/bin/phpmd \
303303&& chmod +x /usr/local/bin/phpmd \
304304 \
You can’t perform that action at this time.
0 commit comments