File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,8 @@ RUN set -x \
28
28
&& curl -sSL ${MODSEC_CRS_URL} -o ${CRS_FILE} \
29
29
&& echo "${LUA_MD5} lua-${LUA_VERSION}.tar.gz" | md5sum -c \
30
30
&& echo "${MODSEC_SHA256} modsecurity-2.9.1.tar.gz" | sha256sum -c \
31
+ && yum -y autoremove $buildDeps \
32
+ && exit \
31
33
&& mkdir -p /usr/src/lua /data \
32
34
&& tar -xzf lua-${LUA_VERSION}.tar.gz -C /usr/src/lua --strip-components=1 \
33
35
&& tar -xzf ${CRS_FILE} -C /data \
@@ -72,7 +74,7 @@ RUN set -x \
72
74
&& mkdir -p /usr/local/etc/haproxy/ssl/cas \
73
75
&& mkdir -p /usr/local/etc/haproxy/ssl/crts \
74
76
&& cp -R /usr/src/haproxy/examples/errorfiles /usr/local/etc/haproxy/errors \
75
- && rm -rf /usr/src/haproxy /usr/src/lua /root/ *tar.gz \
77
+ && rm -rf /usr/src/haproxy /usr/src/lua /*tar.gz \
76
78
&& yum -y autoremove $buildDeps \
77
79
&& yum -y clean all
78
80
You can’t perform that action at this time.
0 commit comments