Skip to content

Commit

Permalink
Update to remove warnings when building Dockerfiles due to unsafe syn…
Browse files Browse the repository at this point in the history
…tax (#327)

Co-authored-by: chen, suyue <[email protected]>
  • Loading branch information
tonym97 and chensuyue authored Jul 22, 2024
1 parent b4012f6 commit 3e5dd01
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion comps/asr/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

FROM python:3.11-slim

ENV LANG C.UTF-8
ENV LANG=C.UTF-8

COPY comps /home/comps

Expand Down
2 changes: 1 addition & 1 deletion comps/dataprep/milvus/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

FROM python:3.11-slim

ENV LANG C.UTF-8
ENV LANG=C.UTF-8

ARG ARCH="cpu"

Expand Down
2 changes: 1 addition & 1 deletion comps/dataprep/pgvector/langchain/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

FROM python:3.11-slim

ENV LANG C.UTF-8
ENV LANG=C.UTF-8

ARG ARCH="cpu"

Expand Down
2 changes: 1 addition & 1 deletion comps/dataprep/pinecone/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

FROM python:3.11-slim

ENV LANG C.UTF-8
ENV LANG=C.UTF-8

RUN apt-get update -y && apt-get install -y --no-install-recommends --fix-missing \
build-essential \
Expand Down
2 changes: 1 addition & 1 deletion comps/dataprep/qdrant/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

FROM python:3.11-slim

ENV LANG C.UTF-8
ENV LANG=C.UTF-8

ARG ARCH="cpu"

Expand Down
2 changes: 1 addition & 1 deletion comps/dataprep/redis/langchain/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

FROM python:3.11-slim

ENV LANG C.UTF-8
ENV LANG=C.UTF-8

ARG ARCH="cpu"

Expand Down
2 changes: 1 addition & 1 deletion comps/dataprep/redis/langchain_ray/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

FROM python:3.11-slim

ENV LANG C.UTF-8
ENV LANG=C.UTF-8

ARG ARCH="cpu"

Expand Down
2 changes: 1 addition & 1 deletion comps/dataprep/redis/llama_index/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

FROM python:3.11-slim

ENV LANG C.UTF-8
ENV LANG=C.UTF-8

ARG ARCH="cpu"

Expand Down
2 changes: 1 addition & 1 deletion comps/guardrails/langchain/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

FROM langchain/langchain:latest

ENV LANG C.UTF-8
ENV LANG=C.UTF-8

ARG ARCH="cpu"

Expand Down
2 changes: 1 addition & 1 deletion comps/guardrails/pii_detection/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM python:3.11-slim

ARG ARCH="cpu" # Set this to "cpu" or "gpu"

ENV LANG C.UTF-8
ENV LANG=C.UTF-8

RUN apt-get update -y && apt-get install -y --no-install-recommends --fix-missing \
build-essential \
Expand Down
2 changes: 1 addition & 1 deletion comps/llms/utils/lm-eval/Dockerfile.cpu
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM ubuntu:${UBUNTU_VER} as devel

ARG REPO_COMPS=https://github.com/opea-project/GenAIComps.git
ARG BRANCH=main
ENV LANG C.UTF-8
ENV LANG=C.UTF-8

RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
aspell \
Expand Down
2 changes: 1 addition & 1 deletion comps/reranks/fastrag/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

FROM python:3.10-slim

ENV LANG C.UTF-8
ENV LANG=C.UTF-8

RUN apt-get update -y && apt-get install -y --no-install-recommends --fix-missing \
libgl1-mesa-glx \
Expand Down
2 changes: 1 addition & 1 deletion comps/reranks/tei/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

FROM python:3.11-slim

ENV LANG C.UTF-8
ENV LANG=C.UTF-8

ARG ARCH="cpu"

Expand Down
2 changes: 1 addition & 1 deletion comps/retrievers/langchain/milvus/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

FROM python:3.11-slim

ENV LANG C.UTF-8
ENV LANG=C.UTF-8

ARG ARCH="cpu"

Expand Down
2 changes: 1 addition & 1 deletion comps/tts/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

FROM python:3.11-slim

ENV LANG C.UTF-8
ENV LANG=C.UTF-8

COPY comps /home/comps

Expand Down

0 comments on commit 3e5dd01

Please sign in to comment.