Skip to content

Commit

Permalink
Merge pull request #49 from wayofdev/feat/changes
Browse files Browse the repository at this point in the history
  • Loading branch information
lotyp authored Apr 6, 2024
2 parents 85bc34d + 8bebd4a commit 9ae26ac
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
3 changes: 3 additions & 0 deletions .hadolint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
trustedRegistries:
- docker.io
- "*.gcr.io"
12 changes: 3 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -126,19 +126,13 @@ lint-ansible: ## Lint ansible files inside project
.PHONY: lint-ansible

lint-docker: ## Run hadolint linter over dist Dockerfiles
hadolint -V ./dist/base/7.4-cli-alpine/Dockerfile
hadolint -V ./dist/base/7.4-fpm-alpine/Dockerfile
hadolint -V ./dist/base/7.4-fpm-supervisord/Dockerfile
hadolint -V ./dist/base/8.0-cli-alpine/Dockerfile
hadolint -V ./dist/base/8.0-fpm-alpine/Dockerfile
hadolint -V ./dist/base/8.0-fpm-supervisord/Dockerfile
hadolint -V ./dist/base/8.1-cli-alpine/Dockerfile
hadolint -V ./dist/base/8.1-fpm-alpine/Dockerfile
hadolint -V ./dist/base/8.1-fpm-supervisord/Dockerfile
hadolint -V ./dist/base/8.1-supervisord-alpine/Dockerfile
hadolint -V ./dist/base/8.2-cli-alpine/Dockerfile
hadolint -V ./dist/base/8.2-fpm-alpine/Dockerfile
hadolint -V ./dist/base/8.2-fpm-supervisord/Dockerfile
hadolint -V ./dist/base/8.2-supervisord-alpine/Dockerfile
hadolint -V ./dist/base/8.3-cli-alpine/Dockerfile
hadolint -V ./dist/base/8.3-fpm-alpine/Dockerfile
hadolint -V ./dist/base/8.3-fpm-supervisord/Dockerfile
hadolint -V ./dist/base/8.3-supervisord-alpine/Dockerfile
.PHONY: lint-docker
2 changes: 1 addition & 1 deletion src/Dockerfiles/base/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ COPY --chown=www-data ./configs/php.ini /usr/local/etc/php/conf.d/php.ini
RUN set -eux; \
apk -U upgrade -a \
{% if 'supervisord' == php_type %}
&& apk add --no-cache supervisor \
&& apk add --no-cache supervisor=4.2.5-r4 \
{% endif %}
&& \
curl -sSLf \
Expand Down

0 comments on commit 9ae26ac

Please sign in to comment.