Skip to content

Commit 9ae26ac

Browse files
authored
Merge pull request #49 from wayofdev/feat/changes
2 parents 85bc34d + 8bebd4a commit 9ae26ac

File tree

3 files changed

+7
-10
lines changed

3 files changed

+7
-10
lines changed

.hadolint.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
trustedRegistries:
2+
- docker.io
3+
- "*.gcr.io"

Makefile

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -126,19 +126,13 @@ lint-ansible: ## Lint ansible files inside project
126126
.PHONY: lint-ansible
127127

128128
lint-docker: ## Run hadolint linter over dist Dockerfiles
129-
hadolint -V ./dist/base/7.4-cli-alpine/Dockerfile
130-
hadolint -V ./dist/base/7.4-fpm-alpine/Dockerfile
131-
hadolint -V ./dist/base/7.4-fpm-supervisord/Dockerfile
132-
hadolint -V ./dist/base/8.0-cli-alpine/Dockerfile
133-
hadolint -V ./dist/base/8.0-fpm-alpine/Dockerfile
134-
hadolint -V ./dist/base/8.0-fpm-supervisord/Dockerfile
135129
hadolint -V ./dist/base/8.1-cli-alpine/Dockerfile
136130
hadolint -V ./dist/base/8.1-fpm-alpine/Dockerfile
137-
hadolint -V ./dist/base/8.1-fpm-supervisord/Dockerfile
131+
hadolint -V ./dist/base/8.1-supervisord-alpine/Dockerfile
138132
hadolint -V ./dist/base/8.2-cli-alpine/Dockerfile
139133
hadolint -V ./dist/base/8.2-fpm-alpine/Dockerfile
140-
hadolint -V ./dist/base/8.2-fpm-supervisord/Dockerfile
134+
hadolint -V ./dist/base/8.2-supervisord-alpine/Dockerfile
141135
hadolint -V ./dist/base/8.3-cli-alpine/Dockerfile
142136
hadolint -V ./dist/base/8.3-fpm-alpine/Dockerfile
143-
hadolint -V ./dist/base/8.3-fpm-supervisord/Dockerfile
137+
hadolint -V ./dist/base/8.3-supervisord-alpine/Dockerfile
144138
.PHONY: lint-docker

src/Dockerfiles/base/Dockerfile.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ COPY --chown=www-data ./configs/php.ini /usr/local/etc/php/conf.d/php.ini
4141
RUN set -eux; \
4242
apk -U upgrade -a \
4343
{% if 'supervisord' == php_type %}
44-
&& apk add --no-cache supervisor \
44+
&& apk add --no-cache supervisor=4.2.5-r4 \
4545
{% endif %}
4646
&& \
4747
curl -sSLf \

0 commit comments

Comments
 (0)