Skip to content

Commit 99d2b8e

Browse files
author
Paulo Alberto Simoes
authored
Fix issue including py-pip setuptools (#133)
1 parent 99e13f4 commit 99d2b8e

File tree

3 files changed

+16
-10
lines changed

3 files changed

+16
-10
lines changed

.vscode/settings.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"java.completion.enabled": false,
3+
"java.debug.settings.enableRunDebugCodeLens": false
4+
}

grabdish/inventory-python/Dockerfile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@ RUN yum -y install oracle-release-el7 && \
1010

1111
WORKDIR /app
1212
COPY inventory/requirements.txt .
13-
RUN yum install -y python36 && \
14-
yum install -y tar && \
15-
rm -rf /var/cache/yum && \
16-
python3.6 -m pip install -r requirements.txt
13+
RUN yum install -y tar && \
14+
yum install -y python36 \
15+
yum install -y python36-oci-sdk && \
16+
rm -rf /var/cache/yum && \
17+
python3.6 -m pip install -U pip setuptools && \
18+
python3.6 -m pip install -r requirements.txt
1719

1820
ADD inventory .
1921
ADD common .
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
Flask_restful
2-
gunicorn
3-
cx_Oracle
4-
simplejson
5-
oci
6-
1+
###### Requirements without Version Specifiers ######`
2+
Flask_restful # req for app.py
3+
gunicorn # req for config.py
4+
cx_Oracle # req for app.py, consumer.py
5+
simplejson # req for app.py, consumer.py
6+
oci # req for vaultsecret.py

0 commit comments

Comments
 (0)