From: Magnus Jacobsson Date: Mon, 20 Apr 2020 07:24:52 +0000 (+0200) Subject: Add update and --no-install-recommends to all installs in Ubuntu Dockerfiles X-Git-Tag: 2.44.1~76^2~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eb5ea660b8ac69592891aa2ff6654d07d60e17e7;p=graphviz Add update and --no-install-recommends to all installs in Ubuntu Dockerfiles --- diff --git a/ci/ubuntu-18.04/Dockerfile b/ci/ubuntu-18.04/Dockerfile index 187c58758..13abd26d8 100644 --- a/ci/ubuntu-18.04/Dockerfile +++ b/ci/ubuntu-18.04/Dockerfile @@ -5,101 +5,101 @@ ARG DEBIAN_FRONTEND=noninteractive RUN apt-get update -y # Development tools -RUN apt-get install -y build-essential -RUN apt-get install -y git -RUN apt-get install -y pkg-config -RUN apt-get install -y autoconf -RUN apt-get install -y bison -RUN apt-get install -y libtool -RUN apt-get install -y flex +RUN apt-get update && apt-get install --no-install-recommends -y build-essential +RUN apt-get update && apt-get install --no-install-recommends -y git +RUN apt-get update && apt-get install --no-install-recommends -y pkg-config +RUN apt-get update && apt-get install --no-install-recommends -y autoconf +RUN apt-get update && apt-get install --no-install-recommends -y bison +RUN apt-get update && apt-get install --no-install-recommends -y libtool +RUN apt-get update && apt-get install --no-install-recommends -y flex # Debian build utilities -RUN apt-get install -y quilt -RUN apt-get install -y d-shlibs -RUN apt-get install -y debhelper +RUN apt-get update && apt-get install --no-install-recommends -y quilt +RUN apt-get update && apt-get install --no-install-recommends -y d-shlibs +RUN apt-get update && apt-get install --no-install-recommends -y debhelper # Option glut -RUN apt-get install -y freeglut3-dev +RUN apt-get update && apt-get install --no-install-recommends -y freeglut3-dev # Option gts -RUN apt-get install -y libgts-dev +RUN apt-get update && apt-get install --no-install-recommends -y libgts-dev # Option swig -RUN apt-get install -y swig +RUN apt-get update && apt-get install --no-install-recommends -y swig # Command lefty -RUN apt-get install -y libxaw7-dev +RUN apt-get update && apt-get install --no-install-recommends -y libxaw7-dev # Command smyra -RUN apt-get install -y libgtkglext1-dev -RUN apt-get install -y libglade2-dev +RUN apt-get update && apt-get install --no-install-recommends -y libgtkglext1-dev +RUN apt-get update && apt-get install --no-install-recommends -y libglade2-dev # Command gvedit -RUN apt-get install -y libqt5gui5 -RUN apt-get install -y qt5-qmake -RUN apt-get install -y qt5-default +RUN apt-get update && apt-get install --no-install-recommends -y libqt5gui5 +RUN apt-get update && apt-get install --no-install-recommends -y qt5-qmake +RUN apt-get update && apt-get install --no-install-recommends -y qt5-default # Plugin library devil -RUN apt-get install -y libdevil-dev +RUN apt-get update && apt-get install --no-install-recommends -y libdevil-dev # Plugin library gd -RUN apt-get install -y libgd-dev +RUN apt-get update && apt-get install --no-install-recommends -y libgd-dev # Plugin library ghostscipt -RUN apt-get install -y libgs-dev +RUN apt-get update && apt-get install --no-install-recommends -y libgs-dev # Plugin library lasi -RUN apt-get install -y liblasi-dev +RUN apt-get update && apt-get install --no-install-recommends -y liblasi-dev # Plugin library poppler -RUN apt-get install -y libpoppler-dev -RUN apt-get install -y libpoppler-glib-dev +RUN apt-get update && apt-get install --no-install-recommends -y libpoppler-dev +RUN apt-get update && apt-get install --no-install-recommends -y libpoppler-glib-dev # Plugin library rsvg -RUN apt-get install -y librsvg2-dev +RUN apt-get update && apt-get install --no-install-recommends -y librsvg2-dev # Plugin library webp -RUN apt-get install -y libwebp-dev +RUN apt-get update && apt-get install --no-install-recommends -y libwebp-dev # Language extension gv_sharp & gv_ruby -RUN apt-get install -y ruby +RUN apt-get update && apt-get install --no-install-recommends -y ruby # Language extension gv_go -RUN apt-get install -y golang-go +RUN apt-get update && apt-get install --no-install-recommends -y golang-go # Language extension gv_guile -RUN apt-get install -y guile-2.2 -RUN apt-get install -y guile-2.2-dev +RUN apt-get update && apt-get install --no-install-recommends -y guile-2.2 +RUN apt-get update && apt-get install --no-install-recommends -y guile-2.2-dev # Language extension gv_lua -RUN apt-get install -y liblualib50-dev -RUN apt-get install -y liblua5.3-dev +RUN apt-get update && apt-get install --no-install-recommends -y liblualib50-dev +RUN apt-get update && apt-get install --no-install-recommends -y liblua5.3-dev # Language extension gv_ocaml -RUN apt-get install -y ocaml +RUN apt-get update && apt-get install --no-install-recommends -y ocaml # Language extension gv_perl -RUN apt-get install -y libperl-dev +RUN apt-get update && apt-get install --no-install-recommends -y libperl-dev # Language extension gv_php -RUN apt-get install -y php-dev -RUN apt-get install -y libsodium-dev -RUN apt-get install -y libargon2-0-dev +RUN apt-get update && apt-get install --no-install-recommends -y php-dev +RUN apt-get update && apt-get install --no-install-recommends -y libsodium-dev +RUN apt-get update && apt-get install --no-install-recommends -y libargon2-0-dev # Language extension gv_python & gv_python2 -RUN apt-get install -y python2.7-dev +RUN apt-get update && apt-get install --no-install-recommends -y python2.7-dev # Language extension gv_python3 -RUN apt-get install -y libpython3-dev +RUN apt-get update && apt-get install --no-install-recommends -y libpython3-dev # Language extension gv_ruby -RUN apt-get install -y ruby-dev +RUN apt-get update && apt-get install --no-install-recommends -y ruby-dev # Language extension gv_tcl -RUN apt-get install -y tcl-dev +RUN apt-get update && apt-get install --no-install-recommends -y tcl-dev # Test utilities -RUN apt-get update && apt-get install -y python-pytest +RUN apt-get update && apt-get install --no-install-recommends -y python-pytest # Clean up RUN rm -rf /var/lib/apt/lists/* diff --git a/ci/ubuntu-19.04/Dockerfile b/ci/ubuntu-19.04/Dockerfile index 1595ed0bb..3f038348d 100644 --- a/ci/ubuntu-19.04/Dockerfile +++ b/ci/ubuntu-19.04/Dockerfile @@ -5,101 +5,101 @@ ARG DEBIAN_FRONTEND=noninteractive RUN apt-get update -y # Development tools -RUN apt-get install -y build-essential -RUN apt-get install -y git -RUN apt-get install -y pkg-config -RUN apt-get install -y autoconf -RUN apt-get install -y bison -RUN apt-get install -y libtool -RUN apt-get install -y flex +RUN apt-get update && apt-get install --no-install-recommends -y build-essential +RUN apt-get update && apt-get install --no-install-recommends -y git +RUN apt-get update && apt-get install --no-install-recommends -y pkg-config +RUN apt-get update && apt-get install --no-install-recommends -y autoconf +RUN apt-get update && apt-get install --no-install-recommends -y bison +RUN apt-get update && apt-get install --no-install-recommends -y libtool +RUN apt-get update && apt-get install --no-install-recommends -y flex # Debian build utilities -RUN apt-get install -y quilt -RUN apt-get install -y d-shlibs -RUN apt-get install -y debhelper +RUN apt-get update && apt-get install --no-install-recommends -y quilt +RUN apt-get update && apt-get install --no-install-recommends -y d-shlibs +RUN apt-get update && apt-get install --no-install-recommends -y debhelper # Option glut -RUN apt-get install -y freeglut3-dev +RUN apt-get update && apt-get install --no-install-recommends -y freeglut3-dev # Option gts -RUN apt-get install -y libgts-dev +RUN apt-get update && apt-get install --no-install-recommends -y libgts-dev # Option swig -RUN apt-get install -y swig +RUN apt-get update && apt-get install --no-install-recommends -y swig # Command lefty -RUN apt-get install -y libxaw7-dev +RUN apt-get update && apt-get install --no-install-recommends -y libxaw7-dev # Command smyra -RUN apt-get install -y libgtkglext1-dev -RUN apt-get install -y libglade2-dev +RUN apt-get update && apt-get install --no-install-recommends -y libgtkglext1-dev +RUN apt-get update && apt-get install --no-install-recommends -y libglade2-dev # Command gvedit -RUN apt-get install -y libqt5gui5 -RUN apt-get install -y qt5-qmake -RUN apt-get install -y qt5-default +RUN apt-get update && apt-get install --no-install-recommends -y libqt5gui5 +RUN apt-get update && apt-get install --no-install-recommends -y qt5-qmake +RUN apt-get update && apt-get install --no-install-recommends -y qt5-default # Plugin library devil -RUN apt-get install -y libdevil-dev +RUN apt-get update && apt-get install --no-install-recommends -y libdevil-dev # Plugin library gd -RUN apt-get install -y libgd-dev +RUN apt-get update && apt-get install --no-install-recommends -y libgd-dev # Plugin library ghostscipt -RUN apt-get install -y libgs-dev +RUN apt-get update && apt-get install --no-install-recommends -y libgs-dev # Plugin library lasi -RUN apt-get install -y liblasi-dev +RUN apt-get update && apt-get install --no-install-recommends -y liblasi-dev # Plugin library poppler -RUN apt-get install -y libpoppler-dev -RUN apt-get install -y libpoppler-glib-dev +RUN apt-get update && apt-get install --no-install-recommends -y libpoppler-dev +RUN apt-get update && apt-get install --no-install-recommends -y libpoppler-glib-dev # Plugin library rsvg -RUN apt-get install -y librsvg2-dev +RUN apt-get update && apt-get install --no-install-recommends -y librsvg2-dev # Plugin library webp -RUN apt-get install -y libwebp-dev +RUN apt-get update && apt-get install --no-install-recommends -y libwebp-dev # Language extension gv_sharp & gv_ruby -RUN apt-get install -y ruby +RUN apt-get update && apt-get install --no-install-recommends -y ruby # Language extension gv_go -RUN apt-get install -y golang-go +RUN apt-get update && apt-get install --no-install-recommends -y golang-go # Language extension gv_guile -RUN apt-get install -y guile-2.2 -RUN apt-get install -y guile-2.2-dev +RUN apt-get update && apt-get install --no-install-recommends -y guile-2.2 +RUN apt-get update && apt-get install --no-install-recommends -y guile-2.2-dev # Language extension gv_lua -RUN apt-get install -y lua5.3 -RUN apt-get install -y liblua5.3-dev +RUN apt-get update && apt-get install --no-install-recommends -y lua5.3 +RUN apt-get update && apt-get install --no-install-recommends -y liblua5.3-dev # Language extension gv_ocaml -RUN apt-get install -y ocaml +RUN apt-get update && apt-get install --no-install-recommends -y ocaml # Language extension gv_perl -RUN apt-get install -y libperl-dev +RUN apt-get update && apt-get install --no-install-recommends -y libperl-dev # Language extension gv_php -RUN apt-get install -y php-dev -RUN apt-get install -y libsodium-dev -RUN apt-get install -y libargon2-0-dev +RUN apt-get update && apt-get install --no-install-recommends -y php-dev +RUN apt-get update && apt-get install --no-install-recommends -y libsodium-dev +RUN apt-get update && apt-get install --no-install-recommends -y libargon2-0-dev # Language extension gv_python & gv_python2 -RUN apt-get install -y python2.7-dev +RUN apt-get update && apt-get install --no-install-recommends -y python2.7-dev # Language extension gv_python3 -RUN apt-get install -y libpython3-dev +RUN apt-get update && apt-get install --no-install-recommends -y libpython3-dev # Language extension gv_ruby -RUN apt-get install -y ruby-dev +RUN apt-get update && apt-get install --no-install-recommends -y ruby-dev # Language extension gv_tcl -RUN apt-get install -y tcl-dev +RUN apt-get update && apt-get install --no-install-recommends -y tcl-dev # Test utilities -RUN apt-get update && apt-get install -y python-pytest +RUN apt-get update && apt-get install --no-install-recommends -y python-pytest # Clean up RUN rm -rf /var/lib/apt/lists/* diff --git a/ci/ubuntu-19.10/Dockerfile b/ci/ubuntu-19.10/Dockerfile index 679bf810d..e292c8eeb 100644 --- a/ci/ubuntu-19.10/Dockerfile +++ b/ci/ubuntu-19.10/Dockerfile @@ -5,101 +5,101 @@ ARG DEBIAN_FRONTEND=noninteractive RUN apt-get update -y # Development tools -RUN apt-get install -y build-essential -RUN apt-get install -y git -RUN apt-get install -y pkg-config -RUN apt-get install -y autoconf -RUN apt-get install -y bison -RUN apt-get install -y libtool -RUN apt-get install -y flex +RUN apt-get update && apt-get install --no-install-recommends -y build-essential +RUN apt-get update && apt-get install --no-install-recommends -y git +RUN apt-get update && apt-get install --no-install-recommends -y pkg-config +RUN apt-get update && apt-get install --no-install-recommends -y autoconf +RUN apt-get update && apt-get install --no-install-recommends -y bison +RUN apt-get update && apt-get install --no-install-recommends -y libtool +RUN apt-get update && apt-get install --no-install-recommends -y flex # Debian build utilities -RUN apt-get install -y quilt -RUN apt-get install -y d-shlibs -RUN apt-get install -y debhelper +RUN apt-get update && apt-get install --no-install-recommends -y quilt +RUN apt-get update && apt-get install --no-install-recommends -y d-shlibs +RUN apt-get update && apt-get install --no-install-recommends -y debhelper # Option glut -RUN apt-get install -y freeglut3-dev +RUN apt-get update && apt-get install --no-install-recommends -y freeglut3-dev # Option gts -RUN apt-get install -y libgts-dev +RUN apt-get update && apt-get install --no-install-recommends -y libgts-dev # Option swig -RUN apt-get install -y swig +RUN apt-get update && apt-get install --no-install-recommends -y swig # Command lefty -RUN apt-get install -y libxaw7-dev +RUN apt-get update && apt-get install --no-install-recommends -y libxaw7-dev # Command smyra -RUN apt-get install -y libgtkglext1-dev -RUN apt-get install -y libglade2-dev +RUN apt-get update && apt-get install --no-install-recommends -y libgtkglext1-dev +RUN apt-get update && apt-get install --no-install-recommends -y libglade2-dev # Command gvedit -RUN apt-get install -y libqt5gui5 -RUN apt-get install -y qt5-qmake -RUN apt-get install -y qt5-default +RUN apt-get update && apt-get install --no-install-recommends -y libqt5gui5 +RUN apt-get update && apt-get install --no-install-recommends -y qt5-qmake +RUN apt-get update && apt-get install --no-install-recommends -y qt5-default # Plugin library devil -RUN apt-get install -y libdevil-dev +RUN apt-get update && apt-get install --no-install-recommends -y libdevil-dev # Plugin library gd -RUN apt-get install -y libgd-dev +RUN apt-get update && apt-get install --no-install-recommends -y libgd-dev # Plugin library ghostscipt -RUN apt-get install -y libgs-dev +RUN apt-get update && apt-get install --no-install-recommends -y libgs-dev # Plugin library lasi -RUN apt-get install -y liblasi-dev +RUN apt-get update && apt-get install --no-install-recommends -y liblasi-dev # Plugin library poppler -RUN apt-get install -y libpoppler-dev -RUN apt-get install -y libpoppler-glib-dev +RUN apt-get update && apt-get install --no-install-recommends -y libpoppler-dev +RUN apt-get update && apt-get install --no-install-recommends -y libpoppler-glib-dev # Plugin library rsvg -RUN apt-get install -y librsvg2-dev +RUN apt-get update && apt-get install --no-install-recommends -y librsvg2-dev # Plugin library webp -RUN apt-get install -y libwebp-dev +RUN apt-get update && apt-get install --no-install-recommends -y libwebp-dev # Language extension gv_sharp & gv_ruby -RUN apt-get install -y ruby +RUN apt-get update && apt-get install --no-install-recommends -y ruby # Language extension gv_go -RUN apt-get install -y golang-go +RUN apt-get update && apt-get install --no-install-recommends -y golang-go # Language extension gv_guile -RUN apt-get install -y guile-2.2 -RUN apt-get install -y guile-2.2-dev +RUN apt-get update && apt-get install --no-install-recommends -y guile-2.2 +RUN apt-get update && apt-get install --no-install-recommends -y guile-2.2-dev # Language extension gv_lua -RUN apt-get install -y lua5.3 -RUN apt-get install -y liblua5.3-dev +RUN apt-get update && apt-get install --no-install-recommends -y lua5.3 +RUN apt-get update && apt-get install --no-install-recommends -y liblua5.3-dev # Language extension gv_ocaml -RUN apt-get install -y ocaml +RUN apt-get update && apt-get install --no-install-recommends -y ocaml # Language extension gv_perl -RUN apt-get install -y libperl-dev +RUN apt-get update && apt-get install --no-install-recommends -y libperl-dev # Language extension gv_php -RUN apt-get install -y php-dev -RUN apt-get install -y libsodium-dev -RUN apt-get install -y libargon2-0-dev +RUN apt-get update && apt-get install --no-install-recommends -y php-dev +RUN apt-get update && apt-get install --no-install-recommends -y libsodium-dev +RUN apt-get update && apt-get install --no-install-recommends -y libargon2-0-dev # Language extension gv_python & gv_python2 -RUN apt-get install -y python2.7-dev +RUN apt-get update && apt-get install --no-install-recommends -y python2.7-dev # Language extension gv_python3 -RUN apt-get install -y libpython3-dev +RUN apt-get update && apt-get install --no-install-recommends -y libpython3-dev # Language extension gv_ruby -RUN apt-get install -y ruby-dev +RUN apt-get update && apt-get install --no-install-recommends -y ruby-dev # Language extension gv_tcl -RUN apt-get install -y tcl-dev +RUN apt-get update && apt-get install --no-install-recommends -y tcl-dev # Test utilities -RUN apt-get update && apt-get install -y python-pytest +RUN apt-get update && apt-get install --no-install-recommends -y python-pytest # Clean up RUN rm -rf /var/lib/apt/lists/* diff --git a/ci/ubuntu-20.04/Dockerfile b/ci/ubuntu-20.04/Dockerfile index 009696a73..d76861300 100644 --- a/ci/ubuntu-20.04/Dockerfile +++ b/ci/ubuntu-20.04/Dockerfile @@ -5,102 +5,102 @@ ARG DEBIAN_FRONTEND=noninteractive RUN apt-get update -y # Development tools -RUN apt-get install -y build-essential -RUN apt-get install -y git -RUN apt-get install -y pkg-config -RUN apt-get install -y autoconf -RUN apt-get install -y bison -RUN apt-get install -y libtool -RUN apt-get install -y flex -RUN apt-get install -y ksh +RUN apt-get update && apt-get install --no-install-recommends -y build-essential +RUN apt-get update && apt-get install --no-install-recommends -y git +RUN apt-get update && apt-get install --no-install-recommends -y pkg-config +RUN apt-get update && apt-get install --no-install-recommends -y autoconf +RUN apt-get update && apt-get install --no-install-recommends -y bison +RUN apt-get update && apt-get install --no-install-recommends -y libtool +RUN apt-get update && apt-get install --no-install-recommends -y flex +RUN apt-get update && apt-get install --no-install-recommends -y ksh # Debian build utilities -RUN apt-get install -y quilt -RUN apt-get install -y d-shlibs -RUN apt-get install -y debhelper +RUN apt-get update && apt-get install --no-install-recommends -y quilt +RUN apt-get update && apt-get install --no-install-recommends -y d-shlibs +RUN apt-get update && apt-get install --no-install-recommends -y debhelper # Option glut -RUN apt-get install -y freeglut3-dev +RUN apt-get update && apt-get install --no-install-recommends -y freeglut3-dev # Option gts -RUN apt-get install -y libgts-dev +RUN apt-get update && apt-get install --no-install-recommends -y libgts-dev # Option swig -RUN apt-get install -y swig +RUN apt-get update && apt-get install --no-install-recommends -y swig # Command lefty -RUN apt-get install -y libxaw7-dev +RUN apt-get update && apt-get install --no-install-recommends -y libxaw7-dev # Command smyra -RUN apt-get install -y libgtkglext1-dev -RUN apt-get install -y libglade2-dev +RUN apt-get update && apt-get install --no-install-recommends -y libgtkglext1-dev +RUN apt-get update && apt-get install --no-install-recommends -y libglade2-dev # Command gvedit -RUN apt-get install -y libqt5gui5 -RUN apt-get install -y qt5-qmake -RUN apt-get install -y qt5-default +RUN apt-get update && apt-get install --no-install-recommends -y libqt5gui5 +RUN apt-get update && apt-get install --no-install-recommends -y qt5-qmake +RUN apt-get update && apt-get install --no-install-recommends -y qt5-default # Plugin library devil -RUN apt-get install -y libdevil-dev +RUN apt-get update && apt-get install --no-install-recommends -y libdevil-dev # Plugin library gd -RUN apt-get install -y libgd-dev +RUN apt-get update && apt-get install --no-install-recommends -y libgd-dev # Plugin library ghostscipt -RUN apt-get install -y libgs-dev +RUN apt-get update && apt-get install --no-install-recommends -y libgs-dev # Plugin library lasi -RUN apt-get install -y liblasi-dev +RUN apt-get update && apt-get install --no-install-recommends -y liblasi-dev # Plugin library poppler -RUN apt-get install -y libpoppler-dev -RUN apt-get install -y libpoppler-glib-dev +RUN apt-get update && apt-get install --no-install-recommends -y libpoppler-dev +RUN apt-get update && apt-get install --no-install-recommends -y libpoppler-glib-dev # Plugin library rsvg -RUN apt-get install -y librsvg2-dev +RUN apt-get update && apt-get install --no-install-recommends -y librsvg2-dev # Plugin library webp -RUN apt-get install -y libwebp-dev +RUN apt-get update && apt-get install --no-install-recommends -y libwebp-dev # Language extension gv_sharp & gv_ruby -RUN apt-get install -y ruby +RUN apt-get update && apt-get install --no-install-recommends -y ruby # Language extension gv_go -RUN apt-get install -y golang-go +RUN apt-get update && apt-get install --no-install-recommends -y golang-go # Language extension gv_guile -RUN apt-get install -y guile-2.2 -RUN apt-get install -y guile-2.2-dev +RUN apt-get update && apt-get install --no-install-recommends -y guile-2.2 +RUN apt-get update && apt-get install --no-install-recommends -y guile-2.2-dev # Language extension gv_lua -RUN apt-get install -y lua5.3 -RUN apt-get install -y liblua5.3-dev +RUN apt-get update && apt-get install --no-install-recommends -y lua5.3 +RUN apt-get update && apt-get install --no-install-recommends -y liblua5.3-dev # Language extension gv_ocaml -RUN apt-get install -y ocaml +RUN apt-get update && apt-get install --no-install-recommends -y ocaml # Language extension gv_perl -RUN apt-get install -y libperl-dev +RUN apt-get update && apt-get install --no-install-recommends -y libperl-dev # Language extension gv_php -RUN apt-get install -y php-dev -RUN apt-get install -y libsodium-dev -RUN apt-get install -y libargon2-0-dev +RUN apt-get update && apt-get install --no-install-recommends -y php-dev +RUN apt-get update && apt-get install --no-install-recommends -y libsodium-dev +RUN apt-get update && apt-get install --no-install-recommends -y libargon2-0-dev # Language extension gv_python & gv_python2 -RUN apt-get install -y python2.7-dev +RUN apt-get update && apt-get install --no-install-recommends -y python2.7-dev # Language extension gv_python3 -RUN apt-get install -y libpython3-dev +RUN apt-get update && apt-get install --no-install-recommends -y libpython3-dev # Language extension gv_ruby -RUN apt-get install -y ruby-dev +RUN apt-get update && apt-get install --no-install-recommends -y ruby-dev # Language extension gv_tcl -RUN apt-get install -y tcl-dev +RUN apt-get update && apt-get install --no-install-recommends -y tcl-dev # Test utilities -RUN apt-get update && apt-get install -y python-pytest +RUN apt-get update && apt-get install --no-install-recommends -y python-pytest # Clean up RUN rm -rf /var/lib/apt/lists/*