Liebe Gitlab-Nutzer, lieber Gitlab-Nutzer, es ist nun möglich sich mittels des ZIH-Logins/LDAP an unserem Dienst anzumelden. Ein Anmelden über dieses erzeugt ein neues Konto. Das alte Konto ist über den Reiter "Standard" erreichbar. Die Administratoren

Dear Gitlab user, it is now possible to log in to our service using the ZIH login/LDAP. Logging in via this will create a new account. The old account can be accessed via the "Standard" tab. The administrators

Verified Commit da435c14 authored by Ansgar Burchardt's avatar Ansgar Burchardt
Browse files

Always run "apt-get update"

When only leaf images are rebuilt, the Packages index might be outdated
and refer to packages that no longer exist in the archive. Always
running "apt-get update" before installing packages avoids this.

Also remove contents of /var/lib/apt/lists as we no longer use it and it
allows to keep the images slightly smaller.
parent 985f69ea
FROM debian:8
MAINTAINER Ansgar.Burchardt@tu-dresden.de
RUN apt-get update && apt-get dist-upgrade --no-install-recommends --yes
RUN apt-get install --no-install-recommends --yes \
RUN apt-get update && apt-get dist-upgrade --no-install-recommends --yes \
&& apt-get install --no-install-recommends --yes \
autoconf \
automake \
bison \
......@@ -23,7 +23,7 @@ RUN apt-get install --no-install-recommends --yes \
openssh-client \
pkg-config \
python-dev \
&& apt-get clean
&& apt-get clean && rm -rf /var/lib/apt/lists/*
RUN adduser --disabled-password --home /duneci duneci
USER duneci
WORKDIR /duneci
FROM debian:stretch
MAINTAINER Ansgar.Burchardt@tu-dresden.de
RUN apt-get update && apt-get dist-upgrade --no-install-recommends --yes
RUN apt-get install --no-install-recommends --yes \
RUN apt-get update && apt-get dist-upgrade --no-install-recommends --yes \
&& apt-get install --no-install-recommends --yes \
autoconf \
automake \
bison \
......@@ -23,7 +23,7 @@ RUN apt-get install --no-install-recommends --yes \
openssh-client \
python-dev \
pkg-config \
&& apt-get clean
&& apt-get clean && rm -rf /var/lib/apt/lists/*
RUN adduser --disabled-password --home /duneci duneci
USER duneci
WORKDIR /duneci
......@@ -2,13 +2,13 @@ FROM duneci/base:8
USER root
WORKDIR /
RUN apt-get install --no-install-recommends --yes \
RUN apt-get update && apt-get install --no-install-recommends --yes \
libdune-common-dev \
libdune-geometry-dev \
libdune-grid-dev \
libdune-localfunctions-dev \
libdune-istl-dev \
&& apt-get clean
&& apt-get clean && rm -rf /var/lib/apt/lists/*
USER duneci
WORKDIR /duneci
......@@ -2,14 +2,13 @@ FROM duneci/base:9
USER root
WORKDIR /
RUN apt-get install --no-install-recommends --yes \
RUN apt-get update && apt-get install --no-install-recommends --yes \
libdune-common-dev \
libdune-geometry-dev \
libdune-grid-dev \
libdune-localfunctions-dev \
libdune-istl-dev \
&& apt-get clean
RUN apt-get clean
&& apt-get clean && rm -rf /var/lib/apt/lists/*
# patch from commit 652c97d013df39f7192f2d5d54000c36e04fe0de
RUN sed -i -e '/check_include_files/ iinclude(CheckIncludeFiles)' /usr/share/dune/cmake/modules/FindAlberta.cmake
......
......@@ -2,9 +2,9 @@ FROM duneci/dune:2.4
USER root
WORKDIR /
RUN apt-get install --no-install-recommends --yes \
RUN apt-get update && apt-get install --no-install-recommends --yes \
libdune-grid-glue-dev \
&& apt-get clean
&& apt-get clean && rm -rf /var/lib/apt/lists/*
USER duneci
WORKDIR /duneci
......
......@@ -2,13 +2,13 @@ FROM duneci/base:9
USER root
WORKDIR /
RUN apt-get install --no-install-recommends --yes \
RUN apt-get update && apt-get install --no-install-recommends --yes \
gnuplot-nox \
libscotchmetis-dev \
libug-dev \
locales-all \
python-vtk6 \
&& apt-get clean
&& apt-get clean && rm -rf /var/lib/apt/lists/*
USER duneci
WORKDIR /duneci
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment