distrobox/jetbrains/symfony/Dockerfile
Snoweuph 859349dccf
All checks were successful
Build Jetbrains Distrobox Images / build_jetbrains (go) (push) Successful in 4m9s
Build Jetbrains Distrobox Images / build_jetbrains (symfony) (push) Successful in 2m27s
Add Go & cleanup
2024-07-29 23:01:38 +02:00

23 lines
596 B
Docker

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