Pretty multi-line bash
Bash line continuations are much prettier when they're column aligned.
Start file
RUN wget https://openresty.org/download/openresty-1.9.7.5.tar.gz && \ tar xzf openresty-1.9.7.5.tar.gz && \ cd openresty-1.9.7.5 && \ ./configure && \ make && \ make install && \ rm -rf /openresty*
End file
RUN wget https://openresty.org/download/openresty-1.9.7.5.tar.gz && \ tar xzf openresty-1.9.7.5.tar.gz && \ cd openresty-1.9.7.5 && \ ./configure && \ make && \ make install && \ rm -rf /openresty*
View Diff
2,6c2,6 < tar xzf openresty-1.9.7.5.tar.gz && \ < cd openresty-1.9.7.5 && \ < ./configure && \ < make && \ < make install && \ --- > tar xzf openresty-1.9.7.5.tar.gz && \ > cd openresty-1.9.7.5 && \ > ./configure && \ > make && \ > make install && \
Solutions by @_Nico_Caro:
Unlock 3 remaining solutions by signing in and submitting your own entry