File tree 5 files changed +5
-10
lines changed
5 files changed +5
-10
lines changed Original file line number Diff line number Diff line change 74
74
platforms : linux/amd64
75
75
target : prod
76
76
push : true
77
- load : true
78
77
tags : |
79
78
docker.io/kadalu/kadalu-csi:${{ github.sha }}
80
79
docker.io/kadalu/kadalu-csi:devel
93
92
platforms : linux/amd64
94
93
target : prod
95
94
push : true
96
- load : true
97
95
tags : |
98
96
docker.io/kadalu/kadalu-operator:${{ github.sha }}
99
97
docker.io/kadalu/kadalu-operator:devel
@@ -112,7 +110,6 @@ jobs:
112
110
platforms : linux/amd64
113
111
target : prod
114
112
push : true
115
- load : true
116
113
tags : |
117
114
docker.io/kadalu/kadalu-server:${{ github.sha }}
118
115
docker.io/kadalu/kadalu-server:devel
@@ -145,7 +142,6 @@ jobs:
145
142
platforms : linux/amd64
146
143
target : prod
147
144
push : true
148
- load : true
149
145
tags : |
150
146
docker.io/kadalu/test-io:${{ github.sha }}
151
147
docker.io/kadalu/test-io:devel
@@ -165,7 +161,6 @@ jobs:
165
161
platforms : linux/amd64
166
162
target : prod
167
163
push : true
168
- load : true
169
164
tags : |
170
165
docker.io/kadalu/test-csi:${{ github.sha }}
171
166
docker.io/kadalu/test-csi:devel
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ ENV PATH="/kadalu/bin:/opt/bin:/opt/sbin:$PATH"
6
6
7
7
COPY csi-requirements.txt /tmp/
8
8
9
- RUN python3 -m pip install -r /tmp/csi-requirements.txt && \
9
+ RUN python3 -m pip install -r /tmp/csi-requirements.txt --no-cache-dir && \
10
10
grep -Po '^[\w\. -]*(?=)' /tmp/csi-requirements.txt | xargs -I pkg python3 -m pip show pkg | grep -P '^(Name|Version|Location)'
11
11
12
12
FROM python:3.9.6-slim-bullseye as prod
Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ RUN apt-get update -yq && \
18
18
chmod +x /usr/bin/kubectl
19
19
20
20
COPY builder-requirements.txt /tmp/
21
- RUN python3 -m venv $VIRTUAL_ENV && cd $VIRTUAL_ENV && \
22
- python3 -m pip install -r /tmp/builder-requirements.txt && \
21
+ RUN python3 -m venv $VIRTUAL_ENV && cd $VIRTUAL_ENV && sleep 1 && which python3 && which pip && \
22
+ $VIRTUAL_ENV/bin/ pip install -r /tmp/builder-requirements.txt --no-cache-dir && \
23
23
grep -Po '^[\w \. -]*(?=)' /tmp/builder-requirements.txt | xargs -I pkg python3 -m pip show pkg | grep -P '^(Name|Version|Location)'
24
24
25
25
RUN sed -i " s /include -system -site -packages = false /include -system -site -packages = true /g " /kadalu/pyvenv.cfg
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ ENV PATH="/kadalu/bin:/opt/bin:/opt/sbin:$PATH"
6
6
7
7
COPY operator-requirements.txt /tmp/
8
8
9
- RUN python3 -m pip install -r /tmp/operator-requirements.txt && \
9
+ RUN python3 -m pip install -r /tmp/operator-requirements.txt --no-cache-dir && \
10
10
grep -Po '^[\w\. -]*(?=)' /tmp/operator-requirements.txt | xargs -I pkg python3 -m pip show pkg | grep -P '^(Name|Version|Location)'
11
11
12
12
FROM python:3.9.6-slim-bullseye as prod
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ ENV PATH="/kadalu/bin:/opt/bin:/opt/sbin:$PATH"
6
6
7
7
COPY server-requirements.txt /tmp/
8
8
9
- RUN python3 -m pip install -r /tmp/server-requirements.txt && \
9
+ RUN python3 -m pip install -r /tmp/server-requirements.txt --no-cache-dir && \
10
10
grep -Po '^[\w\. -]*(?=)' /tmp/server-requirements.txt | xargs -I pkg python3 -m pip show pkg | grep -P '^(Name|Version|Location)'
11
11
12
12
FROM python:3.9.6-slim-bullseye as prod
You can’t perform that action at this time.
0 commit comments