Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Docker Build Images
ubuntu
Commits
a1888c5e
Commit
a1888c5e
authored
Apr 04, 2018
by
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
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
a1888c5e
...
...
@@ -25,5 +25,5 @@ before_script:
xenial
:
<<
:
*build_job
#
trusty:
#
<<: *build_job
trusty
:
<<
:
*build_job
trusty/x86/Dockerfile
View file @
a1888c5e
...
...
@@ -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
...
...
trusty/x86_64/Dockerfile
View file @
a1888c5e
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment