Skip to content

Commit

Permalink
Update composer.lock, linting tool and update CI/CD Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
melroy89 authored Jul 29, 2024
1 parent 4c1cf2f commit ce0c099
Show file tree
Hide file tree
Showing 43 changed files with 631 additions and 623 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
build:
runs-on: ubuntu-latest
container:
image: danger89/mbin-pipeline:1.0.0
image: danger89/mbin-pipeline:1.1.0
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
unit-test:
runs-on: ubuntu-latest
container:
image: danger89/mbin-pipeline:1.0.0
image: danger89/mbin-pipeline:1.1.0
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
security-check:
runs-on: ubuntu-latest
container:
image: danger89/mbin-pipeline:1.0.0
image: danger89/mbin-pipeline:1.1.0
steps:
- uses: actions/checkout@v4

Expand All @@ -106,7 +106,7 @@ jobs:
fixer-dry-run:
runs-on: ubuntu-latest
container:
image: danger89/mbin-pipeline:1.0.0
image: danger89/mbin-pipeline:1.1.0
steps:
- uses: actions/checkout@v4

Expand Down
8 changes: 4 additions & 4 deletions ci/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM php:8.2
FROM php:8.3

# Add composer
COPY --from=composer:2.6.5 /usr/bin/composer /usr/bin/composer
COPY --from=composer:2.7.7 /usr/bin/composer /usr/bin/composer

# Add NodeJS
RUN apt-get update && apt-get install -y nodejs npm
Expand All @@ -15,12 +15,12 @@ RUN curl -sSLf \
https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions
RUN chmod +x /usr/local/bin/install-php-extensions

RUN install-php-extensions amqp intl redis gd zip
RUN install-php-extensions amqp intl redis gd zip bcmath

# Install local-php-security-checker (same as used by "symfony security:check")
RUN curl -sSLf \
-o /usr/local/bin/local-php-security-checker \
https://github.com/fabpot/local-php-security-checker/releases/download/v2.0.6/local-php-security-checker_2.0.6_linux_amd64
https://github.com/fabpot/local-php-security-checker/releases/download/v2.1.3/local-php-security-checker_linux_amd64
RUN chmod +x /usr/local/bin/local-php-security-checker

# Unlimited memory
Expand Down
Loading

0 comments on commit ce0c099

Please sign in to comment.