Skip to content
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

fix: update api libldap package version in Dockerfile for security im… #12195

Merged
merged 1 commit into from
Dec 29, 2024

Conversation

BenjaminX
Copy link
Contributor

@BenjaminX BenjaminX commented Dec 29, 2024

…provements

Summary

Fix package update, 2.5.18+dfsg-3+b1 to 2.5.19+dfsg-1.

11.14 Package libldap-2.5-0 is not available, but is referred to by another package.
11.14 This may mean that the package is missing, has been obsoleted, or
11.14 is only available from another source
11.14 
11.15 E: Version '2.5.18+dfsg-3+b1' for 'libldap-2.5-0' was not found
------
Dockerfile:51
--------------------
  50 |     
  51 | >>> RUN apt-get update \
  52 | >>>     && apt-get install -y --no-install-recommends curl nodejs libgmp-dev libmpfr-dev libmpc-dev \
  53 | >>>     # if you located in China, you can use aliyun mirror to speed up
  54 | >>>     # && echo "deb http://mirrors.aliyun.com/debian testing main" > /etc/apt/sources.list \
  55 | >>>     && echo "deb http://deb.debian.org/debian testing main" > /etc/apt/sources.list \
  56 | >>>     && apt-get update \
  57 | >>>     # For Security
  58 | >>>     && apt-get install -y --no-install-recommends expat=2.6.4-1 libldap-2.5-0=2.5.18+dfsg-3+b1 perl=5.40.0-8 libsqlite3-0=3.46.1-1 zlib1g=1:1.3.dfsg+really1.3.1-1+b1 \
  59 | >>>     # install a chinese font to support the use of tools like matplotlib
  60 | >>>     && apt-get install -y fonts-noto-cjk \
  61 | >>>     && apt-get autoremove -y \
  62 | >>>     && rm -rf /var/lib/apt/lists/*
  63 |     
--------------------

Important

Please review the checklist below before submitting your pull request.

  • This change requires a documentation update, included: Dify Document
  • I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!)
  • I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.
  • I've updated the documentation accordingly.
  • I ran dev/reformat(backend) and cd web && npx lint-staged(frontend) to appease the lint gods

@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. dependencies Pull requests that update a dependency file labels Dec 29, 2024
@crazywoola crazywoola requested a review from laipz8200 December 29, 2024 09:30
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Dec 29, 2024
@laipz8200 laipz8200 merged commit 309a15d into langgenius:main Dec 29, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file lgtm This PR has been approved by a maintainer size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants