docker – Diff between revs 34 and 35

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 34 Rev 35
Line 12... Line 12...
12 coreutils \ 12 coreutils \
13 bash \ 13 bash \
14 curl \ 14 curl \
15 ca-certificates \ 15 ca-certificates \
16 sharutils \ 16 sharutils \
17 bsdiff 17 bsdiff \
-   18 patch
Line 18... Line 19...
18   19  
19 # create the patches (from https://grimore.org/cracks/mmonit/4.3.1) 20 # create the patches (from https://grimore.org/cracks/mmonit/4.3.1)
20 COPY patches/mmonit.bsdiff.uue /tmp/mmonit.bsdiff.uue 21 COPY patches/mmonit.bsdiff.uue /tmp/mmonit.bsdiff.uue
Line 21... Line 22...
21 COPY patches/index.csp.bsdiff.uue /tmp/index.csp.bsdiff.uue 22 COPY patches/index.csp.diff /tmp/index.csp.diff
22   23  
23 # compile 24 # compile
24 RUN mkdir -p /opt && \ 25 RUN mkdir -p /opt && \
Line 28... Line 29...
28 rm /opt/mmonit.tar.gz && \ 29 rm /opt/mmonit.tar.gz && \
29 ln -sf mmonit-4.3.1 mmonit && \ 30 ln -sf mmonit-4.3.1 mmonit && \
30 echo "Patching mmonit..." && \ 31 echo "Patching mmonit..." && \
31 uudecode -co /tmp/mmonit.bsdiff /tmp/mmonit.bsdiff.uue && \ 32 uudecode -co /tmp/mmonit.bsdiff /tmp/mmonit.bsdiff.uue && \
32 bspatch /opt/mmonit/bin/mmonit /tmp/mmonit /tmp/mmonit.bsdiff && \ 33 bspatch /opt/mmonit/bin/mmonit /tmp/mmonit /tmp/mmonit.bsdiff && \
-   34 mv /tmp/mmonit /opt/mmonit/bin/ && \
-   35 chmod +x /opt/mmonit/bin/mmonit && \
-   36 rm /tmp/*.bsdiff* && \
33 echo "Patching admin page..." && \ 37 echo "Patching admin page..." && \
34 uudecode -co /tmp/index.csp.bsdiff /tmp/index.csp.bsdiff.uue && \ 38 cd /opt/mmonit/docroot/admin/general && \
-   39 ls -l && \
35 bspatch /opt/mmonit/docroot/admin/general/index.csp /opt/mmonit/docroot/admin/general/index.csp /tmp/index.csp.bsdiff && \ 40 cat /tmp/index.csp.diff | patch -p0 && \
36 rm /tmp/*.bsdiff* 41 rm /tmp/index.csp.diff
Line 37... Line 42...
37   42  
38 # remove packages that will not be used 43 # remove packages that will not be used
39 WORKDIR / 44 WORKDIR /
40 RUN apt-get purge -y \ 45 RUN apt-get purge -y \
41 curl \ 46 curl \
42 git \ 47 git \
43 sharutils \ 48 sharutils \
-   49 bsdiff \
44 bsdiff && \ 50 patch && \
Line 45... Line 51...
45 apt-get autoremove -y 51 apt-get autoremove -y
Line 46... Line 52...
46   52