diff options
-rw-r--r-- | docker/storperf-httpfrontend/Dockerfile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/docker/storperf-httpfrontend/Dockerfile b/docker/storperf-httpfrontend/Dockerfile index 3b52b03..0b6e431 100644 --- a/docker/storperf-httpfrontend/Dockerfile +++ b/docker/storperf-httpfrontend/Dockerfile @@ -71,9 +71,11 @@ RUN \ zlib-dev \ linux-headers \ curl \ - gnupg \ - && gpg --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys "$GPG_KEYS" \ - && curl -fSL http://nginx.org/download/nginx-$NGINX_VERSION.tar.gz -o nginx.tar.gz \ + gnupg + +RUN gpg --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys "$GPG_KEYS" + +RUN curl -fSL http://nginx.org/download/nginx-$NGINX_VERSION.tar.gz -o nginx.tar.gz \ && curl -fSL http://nginx.org/download/nginx-$NGINX_VERSION.tar.gz.asc -o nginx.tar.gz.asc \ && gpg --verify nginx.tar.gz.asc \ && mkdir -p /usr/src \ @@ -114,4 +116,4 @@ COPY ./nginx.conf /etc/nginx/nginx.conf COPY ./html /etc/nginx/html EXPOSE 5000 -CMD ["nginx", "-g", "daemon off;"]
\ No newline at end of file +CMD ["nginx", "-g", "daemon off;"] |