Skip to content

Commit

Permalink
Merge pull request #146 from devilbox/release-0.100
Browse files Browse the repository at this point in the history
Release v0.100
  • Loading branch information
cytopia authored Jan 4, 2020
2 parents 172baf9 + 0cbd581 commit 649f667
Show file tree
Hide file tree
Showing 13 changed files with 25 additions and 25 deletions.
4 changes: 2 additions & 2 deletions Dockerfiles/base/data/docker-entrypoint.d/101-uid-gid.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ set_uid() {
# Change uid and fix homedir permissions
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} ${homedir} || true" "${debug}"
run "chown -R ${username} /var/lib/php/session" "${debug}"
run "chown -R ${username} /var/lib/php/wsdlcache" "${debug}"
fi
Expand Down Expand Up @@ -103,7 +103,7 @@ set_gid() {
# Change ugd and fix homedir permissions
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} ${homedir} || true" "${debug}"
run "chown -R :${groupname} /var/lib/php/session" "${debug}"
run "chown -R :${groupname} /var/lib/php/wsdlcache" "${debug}"
fi
Expand Down
2 changes: 1 addition & 1 deletion Dockerfiles/work/Dockerfile-5.2
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ RUN set -eux \
\
\
# -------------------- mhsendmail --------------------
&& wget --no-hsts https://github.com/devilbox/mhsendmail/releases/download/v0.3.0/mhsendmail_linux_amd64 \
&& curl -sS -L https://github.com/devilbox/mhsendmail/releases/download/v0.3.0/mhsendmail_linux_amd64 > mhsendmail_linux_amd64 \
&& chmod +x mhsendmail_linux_amd64 \
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail \
\
Expand Down
4 changes: 2 additions & 2 deletions Dockerfiles/work/Dockerfile-5.3
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ RUN set -eux \
\
\
# -------------------- mhsendmail --------------------
&& wget --no-hsts https://github.com/devilbox/mhsendmail/releases/download/v0.3.0/mhsendmail_linux_amd64 \
&& curl -sS -L https://github.com/devilbox/mhsendmail/releases/download/v0.3.0/mhsendmail_linux_amd64 > mhsendmail_linux_amd64 \
&& chmod +x mhsendmail_linux_amd64 \
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail \
\
Expand Down Expand Up @@ -264,7 +264,7 @@ RUN set -eux \
\
\
# -------------------- phpmd --------------------
&& wget --no-hsts https://phpmd.org/static/latest/phpmd.phar \
&& curl -sS -L https://phpmd.org/static/latest/phpmd.phar > phpmd.phar \
&& mv phpmd.phar /usr/local/bin/phpmd \
&& chmod +x /usr/local/bin/phpmd \
\
Expand Down
4 changes: 2 additions & 2 deletions Dockerfiles/work/Dockerfile-5.4
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ RUN set -eux \
\
\
# -------------------- mhsendmail --------------------
&& wget --no-hsts https://github.com/devilbox/mhsendmail/releases/download/v0.3.0/mhsendmail_linux_amd64 \
&& curl -sS -L https://github.com/devilbox/mhsendmail/releases/download/v0.3.0/mhsendmail_linux_amd64 > mhsendmail_linux_amd64 \
&& chmod +x mhsendmail_linux_amd64 \
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail \
\
Expand Down Expand Up @@ -293,7 +293,7 @@ RUN set -eux \
\
\
# -------------------- phpmd --------------------
&& wget --no-hsts https://phpmd.org/static/latest/phpmd.phar \
&& curl -sS -L https://phpmd.org/static/latest/phpmd.phar > phpmd.phar \
&& mv phpmd.phar /usr/local/bin/phpmd \
&& chmod +x /usr/local/bin/phpmd \
\
Expand Down
4 changes: 2 additions & 2 deletions Dockerfiles/work/Dockerfile-5.5
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ RUN set -eux \
\
\
# -------------------- mhsendmail --------------------
&& wget --no-hsts https://github.com/devilbox/mhsendmail/releases/download/v0.3.0/mhsendmail_linux_amd64 \
&& curl -sS -L https://github.com/devilbox/mhsendmail/releases/download/v0.3.0/mhsendmail_linux_amd64 > mhsendmail_linux_amd64 \
&& chmod +x mhsendmail_linux_amd64 \
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail \
\
Expand Down Expand Up @@ -298,7 +298,7 @@ RUN set -eux \
\
\
# -------------------- phpmd --------------------
&& wget --no-hsts https://phpmd.org/static/latest/phpmd.phar \
&& curl -sS -L https://phpmd.org/static/latest/phpmd.phar > phpmd.phar \
&& mv phpmd.phar /usr/local/bin/phpmd \
&& chmod +x /usr/local/bin/phpmd \
\
Expand Down
4 changes: 2 additions & 2 deletions Dockerfiles/work/Dockerfile-5.6
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ RUN set -eux \
\
\
# -------------------- mhsendmail --------------------
&& wget --no-hsts https://github.com/devilbox/mhsendmail/releases/download/v0.3.0/mhsendmail_linux_amd64 \
&& curl -sS -L https://github.com/devilbox/mhsendmail/releases/download/v0.3.0/mhsendmail_linux_amd64 > mhsendmail_linux_amd64 \
&& chmod +x mhsendmail_linux_amd64 \
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail \
\
Expand Down Expand Up @@ -311,7 +311,7 @@ RUN set -eux \
\
\
# -------------------- phpmd --------------------
&& wget --no-hsts https://phpmd.org/static/latest/phpmd.phar \
&& curl -sS -L https://phpmd.org/static/latest/phpmd.phar > phpmd.phar \
&& mv phpmd.phar /usr/local/bin/phpmd \
&& chmod +x /usr/local/bin/phpmd \
\
Expand Down
4 changes: 2 additions & 2 deletions Dockerfiles/work/Dockerfile-7.0
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ RUN set -eux \
\
\
# -------------------- mhsendmail --------------------
&& wget --no-hsts https://github.com/devilbox/mhsendmail/releases/download/v0.3.0/mhsendmail_linux_amd64 \
&& curl -sS -L https://github.com/devilbox/mhsendmail/releases/download/v0.3.0/mhsendmail_linux_amd64 > mhsendmail_linux_amd64 \
&& chmod +x mhsendmail_linux_amd64 \
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail \
\
Expand Down Expand Up @@ -311,7 +311,7 @@ RUN set -eux \
\
\
# -------------------- phpmd --------------------
&& wget --no-hsts https://phpmd.org/static/latest/phpmd.phar \
&& curl -sS -L https://phpmd.org/static/latest/phpmd.phar > phpmd.phar \
&& mv phpmd.phar /usr/local/bin/phpmd \
&& chmod +x /usr/local/bin/phpmd \
\
Expand Down
4 changes: 2 additions & 2 deletions Dockerfiles/work/Dockerfile-7.1
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ RUN set -eux \
\
\
# -------------------- mhsendmail --------------------
&& wget --no-hsts https://github.com/devilbox/mhsendmail/releases/download/v0.3.0/mhsendmail_linux_amd64 \
&& curl -sS -L https://github.com/devilbox/mhsendmail/releases/download/v0.3.0/mhsendmail_linux_amd64 > mhsendmail_linux_amd64 \
&& chmod +x mhsendmail_linux_amd64 \
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail \
\
Expand Down Expand Up @@ -311,7 +311,7 @@ RUN set -eux \
\
\
# -------------------- phpmd --------------------
&& wget --no-hsts https://phpmd.org/static/latest/phpmd.phar \
&& curl -sS -L https://phpmd.org/static/latest/phpmd.phar > phpmd.phar \
&& mv phpmd.phar /usr/local/bin/phpmd \
&& chmod +x /usr/local/bin/phpmd \
\
Expand Down
4 changes: 2 additions & 2 deletions Dockerfiles/work/Dockerfile-7.2
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ RUN set -eux \
\
\
# -------------------- mhsendmail --------------------
&& wget --no-hsts https://github.com/devilbox/mhsendmail/releases/download/v0.3.0/mhsendmail_linux_amd64 \
&& curl -sS -L https://github.com/devilbox/mhsendmail/releases/download/v0.3.0/mhsendmail_linux_amd64 > mhsendmail_linux_amd64 \
&& chmod +x mhsendmail_linux_amd64 \
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail \
\
Expand Down Expand Up @@ -312,7 +312,7 @@ RUN set -eux \
\
\
# -------------------- phpmd --------------------
&& wget --no-hsts https://phpmd.org/static/latest/phpmd.phar \
&& curl -sS -L https://phpmd.org/static/latest/phpmd.phar > phpmd.phar \
&& mv phpmd.phar /usr/local/bin/phpmd \
&& chmod +x /usr/local/bin/phpmd \
\
Expand Down
4 changes: 2 additions & 2 deletions Dockerfiles/work/Dockerfile-7.3
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ RUN set -eux \
\
\
# -------------------- mhsendmail --------------------
&& wget --no-hsts https://github.com/devilbox/mhsendmail/releases/download/v0.3.0/mhsendmail_linux_amd64 \
&& curl -sS -L https://github.com/devilbox/mhsendmail/releases/download/v0.3.0/mhsendmail_linux_amd64 > mhsendmail_linux_amd64 \
&& chmod +x mhsendmail_linux_amd64 \
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail \
\
Expand Down Expand Up @@ -298,7 +298,7 @@ RUN set -eux \
\
\
# -------------------- phpmd --------------------
&& wget --no-hsts https://phpmd.org/static/latest/phpmd.phar \
&& curl -sS -L https://phpmd.org/static/latest/phpmd.phar > phpmd.phar \
&& mv phpmd.phar /usr/local/bin/phpmd \
&& chmod +x /usr/local/bin/phpmd \
\
Expand Down
4 changes: 2 additions & 2 deletions Dockerfiles/work/Dockerfile-7.4
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ RUN set -eux \
\
\
# -------------------- mhsendmail --------------------
&& wget --no-hsts https://github.com/devilbox/mhsendmail/releases/download/v0.3.0/mhsendmail_linux_amd64 \
&& curl -sS -L https://github.com/devilbox/mhsendmail/releases/download/v0.3.0/mhsendmail_linux_amd64 > mhsendmail_linux_amd64 \
&& chmod +x mhsendmail_linux_amd64 \
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail \
\
Expand Down Expand Up @@ -293,7 +293,7 @@ RUN set -eux \
\
\
# -------------------- phpmd --------------------
&& wget --no-hsts https://phpmd.org/static/latest/phpmd.phar \
&& curl -sS -L https://phpmd.org/static/latest/phpmd.phar > phpmd.phar \
&& mv phpmd.phar /usr/local/bin/phpmd \
&& chmod +x /usr/local/bin/phpmd \
\
Expand Down
4 changes: 2 additions & 2 deletions Dockerfiles/work/Dockerfile-8.0
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ RUN set -eux \
\
\
# -------------------- mhsendmail --------------------
&& wget --no-hsts https://github.com/devilbox/mhsendmail/releases/download/v0.3.0/mhsendmail_linux_amd64 \
&& curl -sS -L https://github.com/devilbox/mhsendmail/releases/download/v0.3.0/mhsendmail_linux_amd64 > mhsendmail_linux_amd64 \
&& chmod +x mhsendmail_linux_amd64 \
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail \
\
Expand Down Expand Up @@ -236,7 +236,7 @@ RUN set -eux \
\
\
# -------------------- phpmd --------------------
&& wget --no-hsts https://phpmd.org/static/latest/phpmd.phar \
&& curl -sS -L https://phpmd.org/static/latest/phpmd.phar > phpmd.phar \
&& mv phpmd.phar /usr/local/bin/phpmd \
&& chmod +x /usr/local/bin/phpmd \
\
Expand Down
4 changes: 2 additions & 2 deletions build/ansible/group_vars/all/work.yml
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ software_available:
mhsendmail:
all:
command: |
wget --no-hsts https://github.com/devilbox/mhsendmail/releases/download/v0.3.0/mhsendmail_linux_amd64 \
curl -sS -L https://github.com/devilbox/mhsendmail/releases/download/v0.3.0/mhsendmail_linux_amd64 > mhsendmail_linux_amd64 \
&& chmod +x mhsendmail_linux_amd64 \
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail \
mysqldumpsecure:
Expand Down Expand Up @@ -737,7 +737,7 @@ software_available:
check: phpmd --version | grep -E '^PHPMD [.0-9]+'
all:
command: |
wget --no-hsts https://phpmd.org/static/latest/phpmd.phar \
curl -sS -L https://phpmd.org/static/latest/phpmd.phar > phpmd.phar \
&& mv phpmd.phar /usr/local/bin/phpmd \
&& chmod +x /usr/local/bin/phpmd \
phpunit:
Expand Down

0 comments on commit 649f667

Please sign in to comment.