mirror of
https://github.com/jikan-me/jikan-rest.git
synced 2025-02-20 11:23:35 +08:00
wip
This commit is contained in:
parent
e47ad20f04
commit
c2accf0222
@ -1,19 +1,20 @@
|
|||||||
FROM spiralscout/roadrunner:2.10.6 as roadrunner
|
FROM spiralscout/roadrunner:2.10.6 as roadrunner
|
||||||
FROM composer:2.3.9 as composer
|
FROM composer:2.3.9 as composer
|
||||||
FROM mlocati/php-extension-installer:1.5.29 as php-ext-installer
|
FROM mlocati/php-extension-installer:1.5.29 as php-ext-installer
|
||||||
FROM php:8.0-bullseye as runtime
|
FROM php:8.1-bullseye as runtime
|
||||||
COPY --from=composer /usr/bin/composer /usr/bin/composer
|
COPY --from=composer /usr/bin/composer /usr/bin/composer
|
||||||
COPY --from=php-ext-installer /usr/bin/install-php-extensions /usr/local/bin/
|
COPY --from=php-ext-installer /usr/bin/install-php-extensions /usr/local/bin/
|
||||||
ENV COMPOSER_HOME="/tmp/composer"
|
ENV COMPOSER_HOME="/tmp/composer"
|
||||||
RUN install-php-extensions gd exif intl bz2 gettext mongodb-stable redis curl mbstring redis opcache sockets pcntl
|
RUN install-php-extensions gd exif intl bz2 gettext mongodb-stable redis opcache sockets pcntl
|
||||||
|
|
||||||
RUN set -ex \
|
RUN set -ex \
|
||||||
&& apt-get update && apt-get install -y --no-install-recommends \
|
&& apt-get update && apt-get install -y --no-install-recommends \
|
||||||
openssl \
|
openssl \
|
||||||
git \
|
git \
|
||||||
dos2unix \
|
dos2unix \
|
||||||
unzip; \
|
unzip \
|
||||||
# install supercronic (for laravel task scheduling), project page: <https://github.com/aptible/supercronic>
|
wget \
|
||||||
|
# install supercronic (for laravel task scheduling), project page: <https://github.com/aptible/supercronic>
|
||||||
&& wget -q "https://github.com/aptible/supercronic/releases/download/v0.1.12/supercronic-linux-amd64" \
|
&& wget -q "https://github.com/aptible/supercronic/releases/download/v0.1.12/supercronic-linux-amd64" \
|
||||||
-O /usr/bin/supercronic \
|
-O /usr/bin/supercronic \
|
||||||
&& chmod +x /usr/bin/supercronic \
|
&& chmod +x /usr/bin/supercronic \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user