代码拉取完成,页面将自动刷新
# syntax=docker/dockerfile:1
ARG FLARUM_VERSION=v1.8.3
ARG ALPINE_VERSION=3.19
FROM crazymax/yasu:latest AS yasu
FROM crazymax/alpine-s6:${ALPINE_VERSION}-2.2.0.3
COPY --from=yasu / /
RUN apk --update --no-cache add \
bash \
curl \
libgd \
mysql-client \
nginx \
php82 \
php82-cli \
php82-ctype \
php82-curl \
php82-dom \
php82-exif \
php82-fileinfo \
php82-fpm \
php82-gd \
php82-gmp \
php82-iconv \
php82-intl \
php82-json \
php82-mbstring \
php82-opcache \
php82-openssl \
php82-pdo \
php82-pdo_mysql \
php82-pecl-uuid \
php82-phar \
php82-session \
php82-simplexml \
php82-sodium \
php82-tokenizer \
php82-xml \
php82-xmlwriter \
php82-zip \
php82-zlib \
shadow \
tar \
tzdata \
git \
&& rm -rf /tmp/* /var/www/*
ENV S6_BEHAVIOUR_IF_STAGE2_FAILS="2"\
TZ="UTC" \
PUID="1000" \
PGID="1000"
ARG FLARUM_VERSION
RUN mkdir -p /opt/flarum \
&& curl -sSL https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer \
&& COMPOSER_CACHE_DIR="/tmp" composer create-project flarum/flarum /opt/flarum --no-install \
&& COMPOSER_CACHE_DIR="/tmp" composer require --working-dir /opt/flarum flarum/core:${FLARUM_VERSION} \
&& composer clear-cache \
&& addgroup -g ${PGID} flarum \
&& adduser -D -h /opt/flarum -u ${PUID} -G flarum -s /bin/sh -D flarum \
&& chown -R flarum. /opt/flarum \
&& rm -rf /root/.composer /tmp/*
COPY rootfs /
EXPOSE 8000
WORKDIR /opt/flarum
RUN composer require fof/upload \
fof/byobu \
michaelbelgium/flarum-discussion-views \
fof/user-directory \
fof/byobu \
fof/subscribed \
fof/split \
fof/polls \
fof/nightmode \
fof/merge-discussions \
fof/links \
fof/formatting \
fof/best-answer \
fof/spamblock \
fof/socialprofile \
fof/prevent-necrobumping \
fof/frontpage \
fof/drafts \
fof/default-user-preferences \
ffans/clipboardjs \
clarkwinkelmann/flarum-ext-create-user-modal \
clarkwinkelmann/flarum-ext-group-list \
clarkwinkelmann/flarum-ext-author-change \
askvortsov/flarum-markdown-tables \
the-turk/flarum-diff \
nearata/flarum-ext-internal-links-noreload \
askvortsov/flarum-auto-moderator \
afrux/forum-widgets-core \
afrux/online-users-widget \
afrux/news-widget \
fof/doorman \
fof/pages \
clarkwinkelmann/flarum-ext-circle-groups \
the-turk/flarum-stickiest \
fof/reactions \
flarum-lang/chinese-simplified \
fof/follow-tags \
clarkwinkelmann/flarum-ext-likes-received \
fof/custom-footer \
fof/disposable-emails \
fof/filter \
isaced/flarum-ext-email-verification-switch \
nearata/flarum-ext-no-self-likes \
the-turk/flarum-mathren \
tohsakarat/fancybox-plus \
v17development/flarum-blog \
AlexanderOMara/flarum-gravatar \
wanecho/showfloor \
wanecho/showip \
clarkwinkelmann/flarum-ext-advanced-search-highlight \
rob006/flarum-ext-last-post-avatar \
aurorum/flarum-better-iframe \
askvortsov/flarum-categories \
fof/secure-https \
fof/html-errors \
justoverclock/flarum-ext-welcomebox \
davwheat/custom-sidenav-links \
justoverclock/flarum-ext-contactme \
club-1/flarum-ext-cross-references \
club-1/flarum-ext-chore-commands \
justoverclock/flarum-ext-purify \
meilisearch/meilisearch-php \
fof/profile-image-crop \
widayn/flarum-avatar-cropper \
--no-interaction
VOLUME [ "/data" ]
ENTRYPOINT [ "/init" ]
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。