gnuradio-docker icon indicating copy to clipboard operation
gnuradio-docker copied to clipboard

Use RUN more efficiently

Open willcode opened this issue 3 years ago • 0 comments

Something like

RUN mkdir /src
RUN do a bunch of stuff in /src
RUN rm -rf /src

does not actually recover the space, it just covers it up. Instead, do single transactions the way they're done with the apt/yum commands:

RUN mkdir /src \
&& do a bunch of stuff in /src \
&& rm -rf /src

willcode avatar Mar 10 '21 16:03 willcode