Skip to content

Commit c82bbf1

Browse files
committed
feat(docker): updated installation of sdk via dockerfile
1 parent 271ce99 commit c82bbf1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docker/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@ FROM python:3-slim
33

44
#Install Git
55
RUN apt-get update && \
6-
apt-get install -y --no-install-recommends git && \
6+
apt list -a git && \
7+
apt-get install -y --no-install-recommends git=1:2.20.1-2 && \
78
apt-get clean && \
89
rm -rf /var/lib/apt/lists/*
910

1011
#Clone SDK repo to app directory
1112
RUN git clone https://github.com/watson-developer-cloud/python-sdk.git
1213

1314
#Install the SDK
14-
RUN pip install --upgrade ibm-watson
15-
15+
RUN pip install --upgrade ibm-watson==3.2.0
1616
# #Set working directory to python-sdk
1717
WORKDIR /python-sdk
1818

0 commit comments

Comments
 (0)