Update
Some checks failed
Build Symfony Devcontainer / build_act (push) Failing after 33s

This commit is contained in:
Snoweuph 2024-07-27 23:36:23 +02:00
parent d4cea7b5fa
commit 2f721e6eed
Signed by: Snoweuph
GPG key ID: A494330694B208EF
2 changed files with 24 additions and 20 deletions

View file

@ -30,6 +30,6 @@ jobs:
context: "{{defaultContext}}:Symfony" context: "{{defaultContext}}:Symfony"
push: true push: true
tags: | tags: |
git.euph.dev/development_tools/symfony:latest git.euph.dev/development_tools/distrobox/jetbrains/symfony:latest
git.euph.dev/development_tools/symfony:${{ gitea.run_number }} git.euph.dev/development_tools/distrobox/jetbrains/symfony:${{ gitea.run_number }}

View file

@ -1,21 +1,25 @@
FROM registry.fedoraproject.org/fedora:latest FROM fedora:40
# Add Symfony CLI Source # Set environment variables
RUN curl -1sLf 'https://dl.cloudsmith.io/public/symfony/stable/setup.rpm.sh' | bash ENV BOX_NAME="phpstorm"
RUN dnf install -y \ # Install required packages and setup sources
php \ RUN curl -1sLf 'https://dl.cloudsmith.io/public/symfony/stable/setup.rpm.sh' | bash \
composer \ && dnf install -y \
php-pdo \ # General Tools
php-mysqlnd \ git make just jq nvim fzf \
symfony-cli \ # Jetbrain Tools
just \ fuse fuse-libs libXi libXrender libXtst fontconfig gtk3 tar dbus-libs \
jq \ # Symfony Dependencies
fzf \ php \
screen \ composer \
highlight \ php-pdo \
php-mysqlnd \
symfony-cli \
&& dnf clean all && dnf clean all
# Install Volta # Link outside tooling
RUN curl https://get.volta.sh | bash RUN ln -s /usr/bin/distrobox-host-exec /usr/local/bin/podman
ENV PATH="/root/.volta/bin:${PATH}"
# Command to run on container start
CMD ["distrobox-enter", "--name", "$BOX_NAME"]