Browse Source

attempt to run the install process as root (for the creation of some directories in /usr/share)

keep-around/b199fec1896cf7c591d864bc756492252b83fbdd
Peio Rigaux 7 years ago
parent
commit
b199fec189
1 changed files with 15 additions and 10 deletions
  1. +15
    -10
      .gitlab-ci.yml

+ 15
- 10
.gitlab-ci.yml View File

@ -2,13 +2,18 @@ job1:
tags: [ "docker" ]
image: gitlab.linphone.org:4567/bc/public/linphone-sdk/bc-dev-debian:9
script:
#- mkdir -p build-bcg729
#- cd build-bcg729
#- cmake .. -DENABLE_TESTS=YES
#- make
#- make install
- whoami
- cd /usr/
- ls -la
- cd share
- ls -la
- RUN apt-get update && \
apt-get -y install sudo
- RUN useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo
- USER docker
- CMD /bin/bash
- mkdir -p build-bcg729
- cd build-bcg729
- cmake .. -DENABLE_TESTS=YES
- make
- make install

Loading…
Cancel
Save