Ignore patches logic
This commit is contained in:
parent
e176f7b2b2
commit
37cbec88c8
|
|
@ -22,17 +22,17 @@ RUN wget https://github.com/POV-Ray/povray/archive/v${POVRAY_VERSION}.tar.gz &&
|
|||
WORKDIR /build/povray
|
||||
|
||||
# Copy patch files (to be created separately)
|
||||
COPY patches/*.patch /build/patches/ 2>/dev/null || true
|
||||
#COPY patches/*.patch /build/patches/ 2>/dev/null || true
|
||||
|
||||
# Apply patches if they exist
|
||||
RUN if [ -d /build/patches ]; then \
|
||||
for patch in /build/patches/*.patch; do \
|
||||
if [ -f "$patch" ]; then \
|
||||
echo "Applying patch: $patch"; \
|
||||
patch -p1 < "$patch" || true; \
|
||||
fi; \
|
||||
done; \
|
||||
fi
|
||||
#RUN if [ -d /build/patches ]; then \
|
||||
# for patch in /build/patches/*.patch; do \
|
||||
# if [ -f "$patch" ]; then \
|
||||
# echo "Applying patch: $patch"; \
|
||||
# patch -p1 < "$patch" || true; \
|
||||
# fi; \
|
||||
# done; \
|
||||
# fi
|
||||
|
||||
# Run autoreconf to generate configure script
|
||||
RUN cd unix && bash -c "./prebuild.sh" || autoreconf -i -f
|
||||
|
|
|
|||
Loading…
Reference in New Issue