forked from Job79/devcontainer
feat: add php container
This commit is contained in:
9
containers/php/Containerfile
Normal file
9
containers/php/Containerfile
Normal file
@@ -0,0 +1,9 @@
|
||||
ARG TAG
|
||||
FROM job79/fedora:${TAG}
|
||||
USER root
|
||||
|
||||
RUN --mount=type=cache,id=dnf-cache,target=/var/cache/libdnf5 \
|
||||
dnf -y --setopt=keepcache=1 install php composer \
|
||||
curl -sS https://get.symfony.com/cli/installer | bash
|
||||
|
||||
USER user
|
||||
2
containers/php/config.sh
Normal file
2
containers/php/config.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
arg "-v $HOME/Documents/php:/home/user/Documents/php"
|
||||
Reference in New Issue
Block a user