Skip to content
Snippets Groups Projects
Commit a1888c5e authored by Markus Frosch's avatar Markus Frosch
Browse files

Avoid speed issues with trusty

And re-enable build
parent d6938748
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment