From e71013c4cb73c8ccbd01782cbd814030f4008b9b Mon Sep 17 00:00:00 2001 From: mbeierl Date: Mon, 25 Jun 2018 13:18:47 -0400 Subject: Speed up Builds Adding a new keyserver and ulimit to help speed up builds. Change-Id: If79ba1e533bfe2044606d98047abe9fa342aefb4 Signed-off-by: mbeierl --- docker/storperf-httpfrontend/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'docker/storperf-httpfrontend/Dockerfile') 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" -- cgit 1.2.3-korg