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

smolnar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/knox.git


The following commit(s) were added to refs/heads/master by this push:
     new b83e331  KNOX-2659 - Travis build failure: '/usr/bin/mvn': Operation 
not permitted. (#491)
b83e331 is described below

commit b83e3315ee3c099634cb2faee074faf8cdf7969d
Author: Attila Magyar <[email protected]>
AuthorDate: Fri Sep 10 08:51:44 2021 +0200

    KNOX-2659 - Travis build failure: '/usr/bin/mvn': Operation not permitted. 
(#491)
---
 .travis.yml | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 80c79a0..6cb9d08 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -29,13 +29,19 @@ matrix:
       group: edge
       os: linux
       dist: focal
-    
+
 env:
   global:
   - DOCKERRUN="docker run --rm -v $PWD:/src -v $HOME/.m2:/root/.m2 -v 
/var/run/docker.sock:/var/run/docker.sock -w /src"
 services:
   - docker
 before_install:
+  - curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add 
-
+  - sudo add-apt-repository "deb [arch=amd64] 
https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
+  - sudo add-apt-repository "deb [arch=arm64] 
https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
+  - sudo apt-get update
+  - sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
+  - docker --version
   - lscpu
   - docker pull $IMAGE
 script:

Reply via email to