DockerFile - Run command

1 - About

The RUN instruction will execute any commands in a new layer on top of the current image and commit the results.

3 - Example

3.1 - Tool installation

the package are sorted in alphabetical order

RUN apt-get update && apt-get install -y \
        package-bar \
        package-baz \

3.2 - Pipeline error handling

Pipe: set -o pipefail will fail the pipeline if one stage fails

RUN set -o pipefail && wget -O - | wc -l > /number

4 - Documentation / Reference

Data Science
Data Analysis
Data Science
Linear Algebra Mathematics

Powered by ComboStrap