Skip to content

Commit 46b7602

Browse files
authored
Merge pull request oracle-samples#39 from oracle/sachin-pikle-patch-3
Added command to update pip
2 parents 5284211 + 625dd4c commit 46b7602

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

samples/oci-adb-client-runsql-python/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ RUN chown -R fn:fn /tmp/dbwallet
1717
ENV TNS_ADMIN=/tmp/dbwallet
1818

1919
ADD . /function/
20+
RUN pip3 install --upgrade pip
2021
RUN pip3 install --no-cache --no-cache-dir -r requirements.txt
2122
RUN rm -fr /function/.pip_cache ~/.cache/pip requirements.txt func.yaml Dockerfile README.md
2223

2324
ENV PYTHONPATH=/python
24-
ENTRYPOINT ["/usr/local/bin/fdk", "/function/func.py", "handler"]
25+
ENTRYPOINT ["/usr/local/bin/fdk", "/function/func.py", "handler"]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
fdk
22
cx_oracle
3-
oci==2.40.0
3+
oci

0 commit comments

Comments
 (0)