This commit is contained in:
parent
d4cea7b5fa
commit
2f721e6eed
2 changed files with 24 additions and 20 deletions
|
@ -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 }}
|
||||
|
|
@ -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 \
|
||||
# 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 \
|
||||
just \
|
||||
jq \
|
||||
fzf \
|
||||
screen \
|
||||
highlight \
|
||||
&& 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"]
|
||||
|
|
Loading…
Reference in a new issue