Skip to content

Commit 8f9c705

Browse files
committed
modify Dockerfile
1 parent 7d1c8fa commit 8f9c705

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ MAINTAINER Stephen Von Worley <svonworl@ucsc.edu>
55

66
USER root
77
RUN echo '#!/bin/bash' >> /usr/local/bin/grepc
8-
RUN echo 'grep -c $1 $2 > $3' >> /usr/local/bin/grepc
8+
RUN echo 'grep -c $1 $2 > out.txt' >> /usr/local/bin/grepc
9+
RUN echo '[ $? -le 1 ] && true' >> /usr/local/bin/grepc
910
RUN chmod a+x /usr/local/bin/grepc
1011

1112
CMD ["/bin/bash"]

0 commit comments

Comments
 (0)