Add forgejo actions (#852)
Reviewed-on: #852 Co-authored-by: Magnus Walbeck <mw@mwalbeck.org> Co-committed-by: Magnus Walbeck <mw@mwalbeck.org>
This commit is contained in:
parent
0b775a6999
commit
13064a0633
8 changed files with 246 additions and 424 deletions
php8.1
32
php8.1/Dockerfile
Normal file
32
php8.1/Dockerfile
Normal file
|
@ -0,0 +1,32 @@
|
|||
FROM php:8.1.31-cli-bullseye@sha256:e33d8dd6d5f9efc9a24116c84b7a8ada952296c0a53afb8070033226c57c6ea3
|
||||
|
||||
SHELL [ "/bin/bash", "-exo", "pipefail", "-c" ]
|
||||
|
||||
# renovate: datasource=github-tags depName=composer/composer versioning=semver
|
||||
ENV COMPOSER_VERSION 2.8.5
|
||||
ENV COMPOSER_INSTALLER_COMMIT 459bcaab2cc03f1656dd7b065d500d0cf3070e3f
|
||||
ENV COMPOSER_INSTALLER_HASH 756890a4488ce9024fc62c56153228907f1545c228516cbf63f885e036d37e9a59d27d63f46af1d4d07ee0f76181c7d3
|
||||
|
||||
RUN apt-get update; \
|
||||
apt-get install -y --no-install-recommends \
|
||||
git \
|
||||
unzip \
|
||||
zip \
|
||||
; \
|
||||
curl -o /tmp/composer-installer.php \
|
||||
https://raw.githubusercontent.com/composer/getcomposer.org/${COMPOSER_INSTALLER_COMMIT}/web/installer; \
|
||||
\
|
||||
echo "${COMPOSER_INSTALLER_HASH} /tmp/composer-installer.php" | sha384sum -c -; \
|
||||
\
|
||||
php /tmp/composer-installer.php --no-ansi --install-dir=/usr/bin --filename=composer --version=${COMPOSER_VERSION}; \
|
||||
\
|
||||
composer diagnose; \
|
||||
rm -f /tmp/composer-installer.php; \
|
||||
\
|
||||
rm -rf /var/lib/apt/lists/*;
|
||||
|
||||
WORKDIR /tmp
|
||||
|
||||
USER nobody
|
||||
|
||||
CMD [ "composer" ]
|
Loading…
Add table
Add a link
Reference in a new issue