Skip to content

Commit 9bf6ddd

Browse files
authored
Merge branch 'master' into chore(ci)/concurrency-rules
2 parents 1c20279 + 4c3b848 commit 9bf6ddd

File tree

17 files changed

+145
-129
lines changed

17 files changed

+145
-129
lines changed

Dockerfile_dev

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -83,17 +83,6 @@ RUN composer completion bash > /etc/bash_completion.d/composer
8383
COPY ./docker/php/php-dev.ini /usr/local/etc/php/php.ini
8484
COPY ./docker/php/www-dev.conf /usr/local/etc/php-fpm.d/www.conf
8585

86-
# Define used work directory
87-
WORKDIR /app
88-
89-
# Add everything inside docker image
90-
COPY . .
91-
92-
# Ensure that all required files has execute rights
93-
RUN chmod +x /app/bin/console \
94-
&& chmod +x /app/docker-entrypoint-dev.sh \
95-
&& chmod +x /usr/bin/composer
96-
9786
RUN chmod -R o+s+w /usr/local/etc/php
9887

9988
RUN curl -s https://api.github.com/repos/fabpot/local-php-security-checker/releases/latest | \
@@ -106,14 +95,12 @@ RUN curl -s https://api.github.com/repos/fabpot/local-php-security-checker/relea
10695

10796
RUN groupadd --gid ${HOST_GID} dev \
10897
&& useradd \
109-
-p $(perl \
110-
-e 'print crypt($ARGV[0], "password")' 'dev') \
98+
-p $(perl -e 'print crypt($ARGV[0], "password")' 'dev') \
11199
--uid ${HOST_UID} \
112100
--gid ${HOST_GID} \
113101
--shell /bin/bash \
114102
--create-home dev \
115103
&& usermod -a -G www-data,sudo dev \
116-
&& chgrp -hR dev /app \
117104
&& echo 'dev ALL=(ALL) ALL' >> /etc/sudoers
118105

119106
RUN mkdir -p /home/dev/.config/fish/completions \
@@ -123,6 +110,17 @@ RUN mkdir -p /home/dev/.config/fish/completions \
123110
&& mkdir -p /home/dev/.nvm \
124111
&& chmod 777 -R /home/dev
125112

113+
# Define used work directory
114+
WORKDIR /app
115+
116+
# Add everything inside docker image
117+
COPY --chown=dev:dev . .
118+
119+
# Ensure that all required files has execute rights
120+
RUN chmod +x /app/bin/console \
121+
&& chmod +x /app/docker-entrypoint-dev.sh \
122+
&& chmod +x /usr/bin/composer
123+
126124
USER dev
127125

128126
RUN pip3 install thefuck --user --break-system-packages

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"symfony/console": "6.3.4",
4545
"symfony/dotenv": "6.3.0",
4646
"symfony/expression-language": "6.3.0",
47-
"symfony/flex": "2.3.3",
47+
"symfony/flex": "2.4.0",
4848
"symfony/form": "6.3.6",
4949
"symfony/framework-bundle": "6.3.6",
5050
"symfony/monolog-bundle": "3.8.0",

composer.lock

Lines changed: 19 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tools/01_phpunit/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"phpunit/phpunit": "10.0.19",
1212
"roave/security-advisories": "dev-latest",
1313
"symfony/browser-kit": "6.3.2",
14-
"symfony/phpunit-bridge": "6.3.2"
14+
"symfony/phpunit-bridge": "6.3.6"
1515
},
1616
"config": {
1717
"allow-plugins": true,

tools/01_phpunit/composer.lock

Lines changed: 13 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tools/02_phpstan/composer.lock

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tools/03_psalm/composer.lock

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tools/04_symplify/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"php": "^8.2.0"
66
},
77
"require-dev": {
8-
"friendsofphp/php-cs-fixer": "3.35.1",
8+
"friendsofphp/php-cs-fixer": "3.36.0",
99
"roave/security-advisories": "dev-latest",
1010
"symplify/config-transformer": "12.1.1",
1111
"symplify/easy-coding-standard": "12.0.8"

0 commit comments

Comments
 (0)