summaryrefslogtreecommitdiffstats
path: root/docker/storperf-httpfrontend
diff options
context:
space:
mode:
authormbeierl <mark.beierl@dell.com>2018-06-25 13:18:47 -0400
committermbeierl <mark.beierl@dell.com>2018-06-26 14:50:57 -0400
commite71013c4cb73c8ccbd01782cbd814030f4008b9b (patch)
tree58473a2fc39a3b643cf500e06814a6a5ac4b5935 /docker/storperf-httpfrontend
parent90f1e7e3a5609035487e59bb6196cd7eb2313aeb (diff)
Speed up Builds
Adding a new keyserver and ulimit to help speed up builds. Change-Id: If79ba1e533bfe2044606d98047abe9fa342aefb4 Signed-off-by: mbeierl <mark.beierl@dell.com>
Diffstat (limited to 'docker/storperf-httpfrontend')
-rw-r--r--docker/storperf-httpfrontend/Dockerfile5
1 files changed, 4 insertions, 1 deletions
diff --git a/docker/storperf-httpfrontend/Dockerfile b/docker/storperf-httpfrontend/Dockerfile
index 9b5b5f9..c803d19 100644
--- a/docker/storperf-httpfrontend/Dockerfile
+++ b/docker/storperf-httpfrontend/Dockerfile
@@ -16,6 +16,8 @@ ARG ARCH=x86_64
ARG ALPINE_VERSION=v3.6
FROM multiarch/alpine:$ARCH-$ALPINE_VERSION
+RUN ulimit -n 1024
+
# This comes from https://github.com/nginxinc/docker-nginx/blob/14c1b938737cf4399a6bb039bc506957dce562ae/stable/alpine/Dockerfile
# Is is cloned here so that we can use multiarch alpine
@@ -73,7 +75,8 @@ RUN \
curl \
gnupg
-RUN gpg --keyserver pgp.mit.edu --recv-keys "$GPG_KEYS" || \
+RUN gpg --keyserver keyserver.ubuntu.com --recv-keys "$key" || \
+ gpg --keyserver pgp.mit.edu --recv-keys "$GPG_KEYS" || \
gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$GPG_KEYS" || \
gpg --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys "$GPG_KEYS"