@@ -27,7 +27,7 @@ ARG source=local
27
27
ARG pythonversion=3.11
28
28
29
29
# FROM python:3-alpine
30
- FROM python@sha256:0a56f24afa1fc7f518aa690cb8c7be661225e40b157d9bb8c6ef402164d9faa7 as build
30
+ FROM python@sha256:603975e62d85aa07578034d3d10ffa1983b7618a6abb6371cf51941be6b8842c as build
31
31
32
32
# Inherit global values https://github.com/moby/moby/issues/37345
33
33
ARG appdir
@@ -97,7 +97,8 @@ RUN [ -z "${VERBOSE}" ] || set -xv; \
97
97
./configure --prefix=/usr/local --with-python3 --disable-documentation && \
98
98
make && make install && \
99
99
pip uninstall --no-cache-dir -y sphinx && \
100
- pip uninstall --no-cache-dir -y -r $CWD/sphinxdeps.txt
100
+ pip uninstall --no-cache-dir -y -r $CWD/sphinxdeps.txt && \
101
+ rm -rf /usr/local/share/doc/xapian-bindings
101
102
102
103
# add requirements for pip here, e.g. Whoosh, gpg, zstd or other
103
104
# modules not installed in the base library.
@@ -157,7 +158,7 @@ RUN if [ -n "$pip_mod" ]; then pip install --no-cache-dir ${pip_mod}; fi
157
158
# build a new smaller docker image for execution. Build image above
158
159
# is 1G in size.
159
160
# FROM python:3-alpine
160
- FROM python@sha256:0a56f24afa1fc7f518aa690cb8c7be661225e40b157d9bb8c6ef402164d9faa7
161
+ FROM python@sha256:603975e62d85aa07578034d3d10ffa1983b7618a6abb6371cf51941be6b8842c
161
162
162
163
# import from global
163
164
ARG appdir
@@ -212,8 +213,7 @@ ARG pythonversion
212
213
COPY --from=build /usr/local/lib/python${pythonversion}/site-packages /usr/local/lib/python${pythonversion}/site-packages/
213
214
COPY --from=build /usr/local/bin/roundup* /usr/local/bin/
214
215
COPY --from=build /usr/local/share /usr/local/share/
215
- COPY scripts/Docker/roundup_start .
216
- COPY scripts/Docker/roundup_healthcheck .
216
+ COPY scripts/Docker/roundup_start scripts/Docker/roundup_healthcheck ./
217
217
218
218
# Do not run roundup as root. This creates roundup user and group.
219
219
ARG roundup_uid
0 commit comments