File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4,12 +4,12 @@ WORKDIR /install
44RUN yum install -y amazon-linux-extras
55RUN amazon-linux-extras enable python3.8
66RUN yum install -y python38 python38-devel python3-pip zip gcc
7- RUN python3.8 -m pip install --upgrade pip && \
8- python3.8 -m pip install virtualenv
7+ RUN python3.8 -m pip install --no-cache-dir -- upgrade pip && \
8+ python3.8 -m pip install --no-cache-dir virtualenv
99RUN python3.8 -m venv lambda
1010RUN source lambda/bin/activate
1111# Python dependencies to be included in output zip file:
12- RUN python3.8 -m pip install influxdb-client[ciso] -t /install/python
12+ RUN python3.8 -m pip install --no-cache-dir influxdb-client[ciso] -t /install/python
1313# Create zip file
1414RUN zip -r /install/python.zip python/
1515VOLUME ["/install" ]
You can’t perform that action at this time.
0 commit comments