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"
push: true
tags: |
git.euph.dev/development_tools/symfony:latest
git.euph.dev/development_tools/symfony:${{ gitea.run_number }}
git.euph.dev/development_tools/distrobox/jetbrains/symfony:latest
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
RUN curl -1sLf 'https://dl.cloudsmith.io/public/symfony/stable/setup.rpm.sh' | bash
# Set environment variables
ENV BOX_NAME="phpstorm"
RUN dnf install -y \
php \
composer \
php-pdo \
php-mysqlnd \
symfony-cli \
just \
jq \
fzf \
screen \
highlight \
# Install required packages and setup sources
RUN curl -1sLf 'https://dl.cloudsmith.io/public/symfony/stable/setup.rpm.sh' | bash \
&& dnf install -y \
# General Tools
git make just jq nvim fzf \
# Jetbrain Tools
fuse fuse-libs libXi libXrender libXtst fontconfig gtk3 tar dbus-libs \
# Symfony Dependencies
php \
composer \
php-pdo \
php-mysqlnd \
symfony-cli \
&& dnf clean all
# Install Volta
RUN curl https://get.volta.sh | bash
ENV PATH="/root/.volta/bin:${PATH}"
# Link outside tooling
RUN ln -s /usr/bin/distrobox-host-exec /usr/local/bin/podman
# Command to run on container start
CMD ["distrobox-enter", "--name", "$BOX_NAME"]