From 24594bd982b73e3729622e4f2a723a2c343ac8b3 Mon Sep 17 00:00:00 2001 From: kang2453 Date: Tue, 8 Apr 2025 13:48:24 +0900 Subject: [PATCH] refactoring: update Dockerfile and pip requirements to remove grpcio dependencies and include spaceone-api Signed-off-by: kang2453 --- Dockerfile | 3 +-- pkg/pip_requirements.txt | 5 +---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index bfd2c20..e24c971 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,8 +10,7 @@ RUN apt update && apt upgrade -y COPY pkg/*.txt ${PKG_DIR}/ RUN pip install --upgrade pip && \ - pip install --upgrade --use-deprecated=legacy-resolver -r ${PKG_DIR}/pip_requirements.txt && \ - pip install --upgrade spaceone-api + pip install --upgrade --use-deprecated=legacy-resolver -r ${PKG_DIR}/pip_requirements.txt COPY src ${SRC_DIR} diff --git a/pkg/pip_requirements.txt b/pkg/pip_requirements.txt index d9b1443..d277a12 100644 --- a/pkg/pip_requirements.txt +++ b/pkg/pip_requirements.txt @@ -1,7 +1,4 @@ google-auth google-api-python-client schematics -spaceone-core==1.12.37 -grpcio>=1.64.1 -grpcio-health-checking==1.64.1 -grpcio-reflection==1.64.1 \ No newline at end of file +spaceone-api==2.0.399 \ No newline at end of file