-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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 Occurred During Docker Build #7725
Comments
@snickerjp Hello! I'm here to help you with any bugs, questions, or contributions you may have for the repository. I'm an expert bot designed to assist you while you wait for a human maintainer. I found a similar open issue related to Docker build errors with # production stage
FROM base AS production
ENV FLASK_APP=app.py
ENV EDITION=SELF_HOSTED
ENV DEPLOY_ENV=PRODUCTION
ENV CONSOLE_API_URL=http://127.0.0.1:5001
ENV CONSOLE_WEB_URL=http://127.0.0.1:3000
ENV SERVICE_API_URL=http://127.0.0.1:5001
ENV APP_WEB_URL=http://127.0.0.1:3000
EXPOSE 5001
# set timezone
ENV TZ=UTC
WORKDIR /app/api
RUN apt-get update \
&& apt-get install -y --no-install-recommends curl nodejs libgmp-dev libmpfr-dev libmpc-dev \
&& echo "deb http://deb.debian.org/debian testing main" > /etc/apt/sources.list \
&& apt-get update \
# For Security
&& apt-get install -y --no-install-recommends zlib1g=1:1.3.dfsg+really1.3.1-1 expat=2.6.2-1 libldap-2.5-0=2.5.18+dfsg-1 perl=5.38.2-5 libsqlite3-0=3.46.0-1 \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/* In this modification, the version of |
Link #7691 |
Self Checks
Dify version
0.7.2
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
docker build log
✔️ Expected Behavior
2
to libldap-2.5-0=2.5.18+dfsg-3
ref.
https://packages.debian.org/search?lang=en&suite=all&arch=any&searchon=names&keywords=libldap-2.5
❌ Actual Behavior
Solution
update Dockerfile
docker build log
Reason
During the CI build process, versions are locked, and it seems that the issue went unnoticed due to caching.
https://github.com/langgenius/dify/actions/runs/10577993158/job/29307147730#step:7:378
The text was updated successfully, but these errors were encountered: