Commit a1888c5e authored by Markus Frosch's avatar Markus Frosch
Browse files

Avoid speed issues with trusty

And re-enable build
parent d6938748
Pipeline #1004 passed with stage
in 13 minutes and 35 seconds
......@@ -25,5 +25,5 @@ before_script:
xenial:
<<: *build_job
#trusty:
# <<: *build_job
trusty:
<<: *build_job
......@@ -2,6 +2,15 @@ FROM i386/ubuntu:trusty
ENV DEBIAN_FRONTEND=noninteractive
# This avoids long-running apt and dpkg commands
# apt seems to close all FDs with fcntl() until the open file limit...
RUN ( \
echo '#!/bin/bash'; \
echo 'ulimit -n 512'; \
echo 'exec /usr/bin/apt-get "$@"'; \
) >/usr/local/sbin/apt-get \
&& chmod +x /usr/local/sbin/apt-get
RUN apt-get update \
&& apt-get install -y eatmydata \
&& eatmydata apt-get upgrade -y
......
......@@ -2,6 +2,15 @@ FROM ubuntu:trusty
ENV DEBIAN_FRONTEND=noninteractive
# This avoids long-running apt and dpkg commands
# apt seems to close all FDs with fcntl() until the open file limit...
RUN ( \
echo '#!/bin/bash'; \
echo 'ulimit -n 512'; \
echo 'exec /usr/bin/apt-get "$@"'; \
) >/usr/local/sbin/apt-get \
&& chmod +x /usr/local/sbin/apt-get
RUN apt-get update \
&& apt-get install -y eatmydata \
&& eatmydata apt-get upgrade -y
......
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