-
Notifications
You must be signed in to change notification settings - Fork 15.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix failing tests and add helper functions for docker image
- Loading branch information
1 parent
41960a6
commit c5b8c67
Showing
3 changed files
with
52 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 4 additions & 6 deletions
10
libs/langchain/tests/integration_tests/utilities/docker_test_data/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
# This is a test dockerfile that will be used to test the docker_containers. | ||
FROM python:3.11-slim | ||
RUN pip install cowsay | ||
# This runs cowsay with moo so that we can test that the image works | ||
# and additionally every other run command within container | ||
# will execute but with moo prefix for the user input. | ||
ENTRYPOINT ["python3", "-m", "cowsay", "moo"] | ||
FROM python:3.11-alpine | ||
RUN pip install --no-cache-dir cowsay==6.0 | ||
# This runs cowsay and it requires arguments like -t "hello world". | ||
ENTRYPOINT ["python3", "-m", "cowsay"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters