You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@crail.apache.org by pe...@apache.org on 2019/06/25 12:02:05 UTC

[incubator-crail] 02/02: [DOCKER] update apt repository for RDMA build

This is an automated email from the ASF dual-hosted git repository.

pepperjo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-crail.git

commit 1b50994f1817e1e6e662f138d4512ef445b4d0bb
Author: Jonas Pfefferle <pe...@apache.org>
AuthorDate: Tue Jun 25 13:23:07 2019 +0200

    [DOCKER] update apt repository for RDMA build
    
    Always update apt repository before install otherwise
    data from base container could be stale and installation will fail.
    
    Signed-off-by: Jonas Pfefferle <pe...@apache.org>
---
 docker/RDMA/Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docker/RDMA/Dockerfile b/docker/RDMA/Dockerfile
index 52f7dd7..c161e83 100644
--- a/docker/RDMA/Dockerfile
+++ b/docker/RDMA/Dockerfile
@@ -18,7 +18,7 @@ FROM apache/incubator-crail:1.1
 MAINTAINER Apache Crail <de...@crail.apache.org>
 
 RUN echo "Crail-$LOG_COMMIT install rdma libraries and autotools" && \
-    apt-get install -y --no-install-recommends \
+    apt-get update && apt-get install -y --no-install-recommends \
     autoconf autotools-dev automake libtool make g++ \
     librdmacm-dev libibverbs-dev ibverbs-providers