From 21c71888c600dcd29e11e157ac7ef9b733c59039 Mon Sep 17 00:00:00 2001
From: Moritz Maxeiner <moritz@ucworks.org>
Date: Thu, 20 Sep 2018 17:40:02 +0200
Subject: [PATCH] Fix building MXNet on Ubuntu

---
 ubuntu-18.04/Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ubuntu-18.04/Dockerfile b/ubuntu-18.04/Dockerfile
index 5c981d9..50eb67c 100644
--- a/ubuntu-18.04/Dockerfile
+++ b/ubuntu-18.04/Dockerfile
@@ -69,7 +69,7 @@ RUN python3.6 -m pip --no-cache-dir install \
 
 RUN cd /opt && \
     curl -sSLO https://github.com/apache/incubator-mxnet/releases/download/1.3.0/apache-mxnet-src-1.3.0-incubating.tar.gz && \
-    tar -xf apache-mxnet-src-1.3.0-incubating.tar.gz && \
+    tar -xf apache-mxnet-src-1.3.0-incubating.tar.gz --owner root --group root --no-same-owner && \
     rm -f apache-mxnet-src-1.3.0-incubating.tar.gz && \
     mv apache-mxnet-src-1.3.0-incubating mxnet-1.3.0 && \
     cd mxnet-1.3.0 && \
-- 
GitLab