-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ERROR] DI Reflection Manager collecting class reflections failed. [BUG] #6747
Comments
FROM hyperf/hyperf:8.3-alpine-v3.19 ARG timezone ENV TIMEZONE=${timezone:-"Asia/Shanghai"} #COPY tokenserver.so /usr/lib/php83/modules/tokenserver.so updateRUN set -ex WORKDIR /opt/www Composer CacheCOPY ./composer.* /opt/www/RUN composer install --no-dev --no-scripts#COPY . /opt/www EXPOSE 9501 |
hyperf/hyperf:8.3-alpine-v3.19-swoole-5.1.3 用这个测试看看 |
依旧报错 |
换这个hyperf/hyperf:8.3-alpine-v3.19-swoole-slim-v5.1.1 构建就不报错了。 |
[ERROR] DI Reflection Manager collecting class reflections failed.
File: /opt/www/vendor/hyperf/di/src/AbstractCallableDefinitionCollector.php.
Exception: Syntax error, unexpected T_END_HEREDOC on line 1
基于hyperf/hyperf:8.3-alpine-v3.19-base镜像运行会抛出这个异常,而自己打包的8.3.6版本没问题
The text was updated successfully, but these errors were encountered: