Unverified Commit 1b55c81e authored by Florian Weik's avatar Florian Weik Committed by GitHub

Merge pull request #60 from fweik/centos_fix

Centos fix
parents 6761ee53 2fcfa32c
Pipeline #5122 passed with stages
in 86 minutes and 8 seconds
......@@ -21,6 +21,6 @@ RUN yum -y install epel-release && yum -y install \
&& yum clean all \
&& ln -s /usr/bin/cmake3 /usr/bin/cmake \
&& pip2 install --upgrade pip; pip2 install cython pylint
RUN useradd -m espresso
USER espresso
RUN useradd -m espresso -u 1000
USER 1000
WORKDIR /home/espresso
......@@ -20,5 +20,5 @@ RUN yum -y install \
ccache \
&& yum clean all
RUN useradd -m espresso
USER espresso
USER 1000
WORKDIR /home/espresso
......@@ -40,5 +40,5 @@ COPY boost.patch /tmp/
RUN cd /usr/include/boost && patch -p1 < /tmp/boost.patch
RUN useradd -m espresso && usermod -a -G www-data espresso
USER espresso
USER 1000
WORKDIR /home/espresso
......@@ -52,5 +52,5 @@ COPY boost.patch /tmp/
RUN cd /usr/include/boost && patch -p1 < /tmp/boost.patch
RUN useradd -m espresso && usermod -a -G www-data espresso
USER espresso
USER 1000
WORKDIR /home/espresso
......@@ -29,5 +29,5 @@ COPY thrust.patch /tmp/
RUN cd /usr/local/cuda/include/thrust && patch -p1 < /tmp/thrust.patch
RUN useradd -m espresso && usermod -a -G www-data espresso
USER espresso
USER 1000
WORKDIR /home/espresso
......@@ -31,5 +31,5 @@ RUN apt-get update && apt-get install -y \
&& rm -rf /var/lib/apt/lists/*
RUN useradd -m espresso && usermod -a -G www-data espresso
USER espresso
USER 1000
WORKDIR /home/espresso
......@@ -22,6 +22,6 @@ RUN apt-get update && apt-get install -y \
&& rm -rf /var/lib/apt/lists/*
RUN useradd -m espresso
USER espresso
USER 1000
WORKDIR /home/espresso
......@@ -65,5 +65,5 @@ RUN cd /tmp \
ENV BOOST_ROOT=/opt/boost LD_LIBRARY_PATH="/opt/boost/lib:${LD_LIBRARY_PATH}"
RUN useradd -m espresso && usermod -a -G www-data espresso
USER espresso
USER 1000
WORKDIR /home/espresso
......@@ -19,5 +19,5 @@ RUN zypper -n --gpg-auto-import-keys refresh \
curl \
&& update-alternatives --install /usr/bin/pycodestyle pycodestyle /usr/bin/pycodestyle-2.7 1
RUN useradd -m espresso
USER espresso
USER 1000
WORKDIR /home/espresso
......@@ -19,5 +19,5 @@ RUN zypper -n --gpg-auto-import-keys refresh \
curl
RUN pip2 install --upgrade pip && pip2 install pylint --upgrade
RUN useradd -m espresso
USER espresso
USER 1000
WORKDIR /home/espresso
......@@ -27,6 +27,6 @@ RUN apt-get update && apt-get install -y \
&& rm -rf /var/lib/apt/lists/*
RUN useradd -m espresso
USER espresso
USER 1000
WORKDIR /home/espresso
......@@ -21,6 +21,6 @@ RUN apt-get update && apt-get install -y \
&& rm -rf /var/lib/apt/lists/*
RUN useradd -m espresso
USER espresso
USER 1000
WORKDIR /home/espresso
......@@ -23,6 +23,6 @@ RUN apt-get update && apt-get install -y \
&& rm -rf /var/lib/apt/lists/*
RUN useradd -m espresso
USER espresso
USER 1000
WORKDIR /home/espresso
......@@ -31,5 +31,5 @@ RUN apt-get update && apt-get install -y \
RUN bash /tmp/build-and-install-scafacos.sh
RUN useradd -m espresso
USER espresso
USER 1000
WORKDIR /home/espresso
......@@ -30,7 +30,7 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
RUN bash /tmp/build-and-install-scafacos.sh
RUN useradd -m espresso
USER espresso
USER 1000
WORKDIR /home/espresso
ENV OMPI_MCA_plm=isolated
......@@ -13,5 +13,5 @@ RUN apt-get update && apt-get install -y \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
USER espresso
USER 1000
WORKDIR /home/espresso
......@@ -19,5 +19,5 @@ RUN apt-get update && apt-get install -y \
&& rm -rf /var/lib/apt/lists/*
RUN useradd -m espresso
USER espresso
USER 1000
WORKDIR /home/espresso
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