Snoweuph
086d075da5
Some checks failed
Build Jetbrains Devcontainers / build_act (symfony) (push) Failing after 54s
22 lines
571 B
Docker
22 lines
571 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 \
|
|
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"]
|