Commit 6208035
committed
Use runtime libraries instead of -dev packages in final stage
Runtime stage only needs the runtime libraries to run GDAL, not the
development headers and static libraries. This reduces image size.
Changed from:
- libproj-dev → libproj25
- libsqlite3-dev → libsqlite3-0
- libtiff-dev → libtiff5
- libcurl4-openssl-dev → libcurl4
- etc.
Builder stage keeps -dev packages (needed for compilation).1 parent 18251de commit 6208035
1 file changed
+14
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| |||
0 commit comments