Skip to content

Commit 8fc8179

Browse files
Add llama.cpp docker support for non-latin languages (ggml-org#1673)
* Modify Dockerfile default character set to improve compatibility (ggml-org#1673)
1 parent b50b570 commit 8fc8179

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.devops/full.Dockerfile

+2
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,6 @@ COPY . .
1616

1717
RUN make
1818

19+
ENV LC_ALL=C.utf8
20+
1921
ENTRYPOINT ["/app/.devops/tools.sh"]

.devops/main.Dockerfile

+2
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,6 @@ FROM ubuntu:$UBUNTU_VERSION as runtime
1515

1616
COPY --from=build /app/main /main
1717

18+
ENV LC_ALL=C.utf8
19+
1820
ENTRYPOINT [ "/main" ]

0 commit comments

Comments
 (0)