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
4
4
RUN yum install -y amazon-linux-extras
5
5
RUN amazon-linux-extras enable python3.8
6
6
RUN 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
9
9
RUN python3.8 -m venv lambda
10
10
RUN source lambda/bin/activate
11
11
# 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
13
13
# Create zip file
14
14
RUN zip -r /install/python.zip python/
15
15
VOLUME ["/install" ]
You can’t perform that action at this time.
0 commit comments