Skip to content

Commit 6ca8bcf

Browse files
committed
Search why systemd will be removed
1 parent 221c279 commit 6ca8bcf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ RUN set -x \
2828
&& curl -sSL ${MODSEC_CRS_URL} -o ${CRS_FILE} \
2929
&& echo "${LUA_MD5} lua-${LUA_VERSION}.tar.gz" | md5sum -c \
3030
&& echo "${MODSEC_SHA256} modsecurity-2.9.1.tar.gz" | sha256sum -c \
31+
&& yum -y autoremove $buildDeps \
32+
&& exit \
3133
&& mkdir -p /usr/src/lua /data \
3234
&& tar -xzf lua-${LUA_VERSION}.tar.gz -C /usr/src/lua --strip-components=1 \
3335
&& tar -xzf ${CRS_FILE} -C /data \
@@ -72,7 +74,7 @@ RUN set -x \
7274
&& mkdir -p /usr/local/etc/haproxy/ssl/cas \
7375
&& mkdir -p /usr/local/etc/haproxy/ssl/crts \
7476
&& 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 \
7678
&& yum -y autoremove $buildDeps \
7779
&& yum -y clean all
7880

0 commit comments

Comments
 (0)