Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
canghaiwuhen
OpenXG-RAN
Commits
74e47587
Commit
74e47587
authored
Mar 09, 2020
by
Raphael Defosseux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
proper syntax for passing proxy var
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@eurecom.fr
>
parent
6e7db844
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
docker/Dockerfile.base.centos.7.6.1810
docker/Dockerfile.base.centos.7.6.1810
+2
-1
docker/Dockerfile.base.ubuntu.16.04
docker/Dockerfile.base.ubuntu.16.04
+2
-1
docker/Dockerfile.base.ubuntu.18.04
docker/Dockerfile.base.ubuntu.18.04
+2
-1
No files found.
docker/Dockerfile.base.centos.7.6.1810
View file @
74e47587
...
...
@@ -24,6 +24,7 @@
#
FROM centos:7.6.1810 AS oai-base
ARG EURECOM_PROXY
RUN yum update -y && yum install -y \
vim-common \
git \
...
...
@@ -46,7 +47,7 @@ gcc-c++
ENV USER=root
# In Eurecom env we need a git proxy
RUN
if [[ -v EURECOM_PROXY ]]; then git config --global http.proxy http://proxy.eurecom.fr:8080; fi
RUN
/bin/bash -c "if [[ -v EURECOM_PROXY ]]; then git config --global http.proxy http://proxy.eurecom.fr:8080; fi"
RUN GIT_SSL_NO_VERIFY=true git clone https://gitlab.eurecom.fr/oai/openairinterface5g.git /openairinterface5g -b develop
WORKDIR /openairinterface5g
...
...
docker/Dockerfile.base.ubuntu.16.04
View file @
74e47587
...
...
@@ -14,13 +14,14 @@
# limitations under the License.
FROM ubuntu:16.04 AS oai-base
ARG EURECOM_PROXY
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
vim-common \
git \
&& rm -rf /var/lib/apt/lists/*
# In Eurecom env we need a git proxy
RUN
if [[ -v EURECOM_PROXY ]]; then git config --global http.proxy http://proxy.eurecom.fr:8080; fi
RUN
/bin/bash -c "if [[ -v EURECOM_PROXY ]]; then git config --global http.proxy http://proxy.eurecom.fr:8080; fi"
RUN git clone https://gitlab.eurecom.fr/oai/openairinterface5g/ /openairinterface5g -b develop
...
...
docker/Dockerfile.base.ubuntu.18.04
View file @
74e47587
...
...
@@ -14,6 +14,7 @@
# limitations under the License.
FROM ubuntu:18.04 AS oai-base
ARG EURECOM_PROXY
ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=Europe
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
...
...
@@ -23,7 +24,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
&& rm -rf /var/lib/apt/lists/*
# In Eurecom env we need a git proxy
RUN
if [[ -v EURECOM_PROXY ]]; then git config --global http.proxy http://proxy.eurecom.fr:8080; fi
RUN
/bin/bash -c "if [[ -v EURECOM_PROXY ]]; then git config --global http.proxy http://proxy.eurecom.fr:8080; fi"
RUN git clone https://gitlab.eurecom.fr/oai/openairinterface5g/ /openairinterface5g -b develop
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment