Skip to content

Commit

Permalink
maj
Browse files Browse the repository at this point in the history
  • Loading branch information
SebSept committed May 28, 2024
1 parent 641a07c commit 29aaa45
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pushimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
# It uses the `context` parameter to define the build's context as the set of files located in the specified path. For more information, see "[Usage](https://github.com/docker/build-push-action#usage)" in the README of the `docker/build-push-action` repository.
# It uses the `tags` and `labels` parameters to tag and label the image with the output from the "meta" step.
- name: Build and push Docker image
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
uses: docker/build-push-action@v5.3.0
with:
context: .
push: true
Expand Down
14 changes: 9 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
# syntax=docker/dockerfile:labs
ARG COMPOSER_VERSION=2.6.5
ARG PHP_VERSION=8.3.4
# https://github.com/composer/composer/releases/
ARG COMPOSER_VERSION=2.7.6
# voir https://hub.docker.com/_/php/tags?page=&page_size=&ordering=&name=fpm-a
ARG PHP_VERSION=8.3.7
ARG ALPINE_VERSION=3.20
# https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/releases
ARG PHP_CS_FIXER_VERSION=3.57.2
ARG GIT_EMAIL="[email protected]"
ARG GIT_USERNAME="seb"
ARG ALPINE_VERSION=3.18

# Do not expose the port to the host.
# https://hub.docker.com/_/php
Expand All @@ -14,7 +18,7 @@ EXPOSE 9000/tcp

# config system
# git is required for symfony cli
RUN apk update \
RUN apk update --no-cache \
&& apk add fish bash git

# Add php extension installer
Expand Down Expand Up @@ -49,7 +53,7 @@ RUN chown climber /app && mkdir -p /app/vendor/bin/
# Add symfony cli
# will probably be removed to production image
RUN curl -1sLf 'https://dl.cloudsmith.io/public/symfony/stable/setup.alpine.sh' | bash \
&& apk add symfony-cli \
&& apk --no-cache add symfony-cli \
&& symfony local:check:requirements

USER climber
Expand Down

0 comments on commit 29aaa45

Please sign in to comment.