Just like when typing at the shell, you need either a newline or a semicolon before fi:
RUN if grep -q "grunt" package.json; then echo succeed; fi
add this ^
Just like when typing at the shell, you need either a newline or a semicolon before fi:
RUN if grep -q "grunt" package.json; then echo succeed; fi
add this ^