Skip to content

Commit e73056c

Browse files
committed
fix multiple rm
1 parent 10dcd4b commit e73056c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ENV DOCKER_HOST unix:///tmp/docker.sock
1313
ENV RULES_PATH /etc/modsecurity.d/rules
1414
ENV RULES_FILE ${RULES_PATH}/rules.conf
1515

16-
RUN rm rm -rf /etc/nginx/conf.d/default.conf /etc/nginx/conf.d/logging.conf \
16+
RUN rm -rf /etc/nginx/conf.d/default.conf /etc/nginx/conf.d/logging.conf \
1717
# replace bash env and exec command
1818
&& sed -i -e 's:#!/bin/bash -e::g' -e 's:etc/:/etc/:g' /docker-entrypoint.sh \
1919
&& sed -i 's:exec "$@":\n:g' /app/docker-entrypoint.sh \

0 commit comments

Comments
 (0)