distrobox/jetbrains/symfony/Dockerfile
Snoweuph c14b5e9501
All checks were successful
Build Jetbrains Distrobox Images / build_act (symfony) (push) Successful in 1m53s
jetbrains/symfony/Dockerfile aktualisiert
2024-07-28 15:25:17 +00:00

25 lines
634 B
Docker

FROM fedora:40
ARG JETBRAINS_DEPENDENCIES
# 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 \
$JETBRAINS_DEPENDENCIES \
php \
screen \
highlight \
composer \
php-pdo \
php-mysqlnd \
symfony-cli \
&& dnf clean all
# Link outside tooling
RUN alias docker="podman"
RUN ln -s /usr/bin/distrobox-host-exec /usr/local/bin/podman
# Command to run on container start
CMD ["distrobox-enter", "--name", "$BOX_NAME"]