distrobox/Symfony/Dockerfile
Snoweuph 2f721e6eed
Some checks failed
Build Symfony Devcontainer / build_act (push) Failing after 33s
Update
2024-07-27 23:36:23 +02:00

25 lines
706 B
Docker

FROM fedora:40
# Set environment variables
ENV BOX_NAME="phpstorm"
# 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
# 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"]