ARG TAG
FROM job79/base:${TAG}
USER root

RUN --mount=type=cache,id=dnf-cache,target=/var/cache/libdnf5 \
  dnf -y --setopt=keepcache=1 install php composer npm && \
  composer global require laravel/installer

USER user
