Commit 009f603c authored by lfarizav's avatar lfarizav

Uploading dockerfiles for lmssdr

parent 0f6d383f
......@@ -14,22 +14,41 @@
# limitations under the License.
FROM ubuntu:16.04 AS oai-base
MAINTAINER Luis Ariza "lfarizav@idtolu.com"
ARG EURECOM_PROXY
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
vim-common \
git \
&& rm -rf /var/lib/apt/lists/*
ENV TZ=Europe
RUN apt-get update && apt-get install software-properties-common -y
RUN add-apt-repository -y ppa:myriadrf/drivers
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN apt-get update
RUN apt-get install sudo -y
RUN apt-get install apt-utils -y
RUN apt-get install vim-common -y
RUN apt-get install git -y
RUN rm -rf /var/lib/apt/lists/*
# In Eurecom env we need a git proxy
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
RUN cd openairinterface5g && git branch
#RUN apt-get update && apt-get install software-properties-common -y
RUN add-apt-repository -y ppa:myriadrf/drivers && apt-get update && apt-get install -y limesuite \
liblimesuite-dev \
limesuite-udev \
limesuite-images
RUN apt-get install -y soapysdr-tools \
soapysdr-module-lms7
WORKDIR /openairinterface5g
COPY nasmesh.patch nasmesh.patch
RUN git apply nasmesh.patch
ENV USER=root
RUN /bin/bash -c "source oaienv" && cd cmake_targets && ./build_oai -I -w USRP
RUN apt-get update
RUN apt-get install sudo -y
RUN /bin/bash -c "source oaienv" && cd cmake_targets && ./build_oai -I -i -w LMSSDR #--build-lib enbscope
RUN git branch
WORKDIR /
COPY enb.band7.tm1.25PRB.lmssdr.conf /openairinterface5g/ci-scripts/conf_files/
ARG org_label_schema_version=unknown
ARG org_label_schema_vcs_url=unknown
......
......@@ -14,25 +14,41 @@
# limitations under the License.
FROM ubuntu:18.04 AS oai-base
MAINTAINER Luis Ariza "lfarizav@idtolu.com"
ARG EURECOM_PROXY
ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=Europe
RUN apt-get update && apt-get install software-properties-common -y
RUN add-apt-repository -y ppa:myriadrf/drivers
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
vim-common \
git \
&& rm -rf /var/lib/apt/lists/*
RUN apt-get update
RUN apt-get install sudo -y
RUN apt-get install apt-utils -y
RUN apt-get install vim-common -y
RUN apt-get install git -y
RUN rm -rf /var/lib/apt/lists/*
# In Eurecom env we need a git proxy
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
RUN cd openairinterface5g && git branch
#RUN apt-get update && apt-get install software-properties-common -y
RUN add-apt-repository -y ppa:myriadrf/drivers && apt-get update && apt-get install -y limesuite \
liblimesuite-dev \
limesuite-udev \
limesuite-images
RUN apt-get install -y soapysdr-tools \
soapysdr-module-lms7
WORKDIR /openairinterface5g
COPY nasmesh.patch nasmesh.patch
RUN git apply nasmesh.patch
ENV USER=root
RUN /bin/bash -c "source oaienv" && cd cmake_targets && ./build_oai -I -w USRP
RUN apt-get update
RUN apt-get install sudo -y
RUN /bin/bash -c "source oaienv" && cd cmake_targets && ./build_oai -I -i -w LMSSDR #--build-lib enbscope
RUN git branch
WORKDIR /
COPY enb.band7.tm1.25PRB.lmssdr.conf /openairinterface5g/ci-scripts/conf_files/
ARG org_label_schema_version=unknown
ARG org_label_schema_vcs_url=unknown
......
......@@ -16,12 +16,32 @@
ARG build_base
FROM $build_base AS enb-builder
MAINTAINER Luis Ariza "lfarizav@idtolu.com"
RUN apt-get update && apt-get install software-properties-common -y
RUN add-apt-repository -y ppa:myriadrf/drivers && apt-get update
RUN apt-get install -y limesuite \
liblimesuite-dev \
limesuite-udev \
limesuite-images
RUN apt-get install -y soapysdr-tools \
soapysdr-module-lms7 \
git
WORKDIR /openairinterface5g
ENV USER=root
RUN /bin/bash -c "source oaienv" && cd cmake_targets && ./build_oai --eNB -w USRP
RUN apt-get update
RUN apt-get install sudo -y
RUN /bin/bash -c "source oaienv" && cd cmake_targets && ./build_oai -I -i --eNB -w LMSSDR #--build-lib enbscope
RUN git branch
WORKDIR /
COPY enb.band7.tm1.25PRB.lmssdr.conf /openairinterface5g/ci-scripts/conf_files/
FROM ubuntu:16.04 AS lte-softmodem
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
MAINTAINER Luis Ariza "lfarizav@idtolu.com"
RUN apt-get update
RUN apt-get install sudo -y
RUN apt-get install -y apt-utils \
libssl1.0.0 \
libnettle6 \
libsctp1 \
......@@ -32,12 +52,25 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
dnsutils \
iproute2 \
iputils-ping \
libblas3 \
libatlas-base-dev \
libblas-dev \
iperf \
&& rm -rf /var/lib/apt/lists/*
iperf
RUN rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install software-properties-common -y
RUN add-apt-repository -y ppa:myriadrf/drivers && apt-get update && apt-get install -y limesuite \
liblimesuite-dev \
limesuite-udev \
limesuite-images
RUN apt-get install -y soapysdr-tools \
soapysdr-module-lms7 \
git
WORKDIR /openairinterface5g/ci-scripts
COPY --from=enb-builder /openairinterface5g/ci-scripts/ .
WORKDIR /openairinterface5g/targets
COPY --from=enb-builder /openairinterface5g/targets .
WORKDIR /openairinterface5g/cmake_targets
COPY --from=enb-builder /openairinterface5g/cmake_targets/ .
......
......@@ -16,12 +16,32 @@
ARG build_base
FROM $build_base AS enb-builder
MAINTAINER Luis Ariza "lfarizav@idtolu.com"
RUN apt-get update && apt-get install software-properties-common -y
RUN add-apt-repository -y ppa:myriadrf/drivers && apt-get update
RUN apt-get install -y limesuite \
liblimesuite-dev \
limesuite-udev \
limesuite-images
RUN apt-get install -y soapysdr-tools \
soapysdr-module-lms7 \
git
WORKDIR /openairinterface5g
ENV USER=root
RUN /bin/bash -c "source oaienv" && cd cmake_targets && ./build_oai --eNB -w USRP
RUN apt-get update
RUN apt-get install sudo -y
RUN /bin/bash -c "source oaienv" && cd cmake_targets && ./build_oai -I -i --eNB -w LMSSDR #--build-lib enbscope
RUN git branch
WORKDIR /
COPY enb.band7.tm1.25PRB.lmssdr.conf /openairinterface5g/ci-scripts/conf_files/
FROM ubuntu:18.04 AS lte-softmodem
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
MAINTAINER Luis Ariza "lfarizav@idtolu.com"
RUN apt-get update
RUN apt-get install sudo -y
RUN apt-get install -y apt-utils \
libssl1.0.0 \
libnettle6 \
libsctp1 \
......@@ -35,11 +55,22 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
libblas3 \
libatlas-base-dev \
libblas-dev \
iperf \
&& rm -rf /var/lib/apt/lists/*
iperf
RUN rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install software-properties-common -y
RUN add-apt-repository -y ppa:myriadrf/drivers && apt-get update && apt-get install -y limesuite \
liblimesuite-dev \
limesuite-udev \
limesuite-images
RUN apt-get install -y soapysdr-tools \
soapysdr-module-lms7 \
git
WORKDIR /openairinterface5g/ci-scripts
COPY --from=enb-builder /openairinterface5g/ci-scripts/ .
WORKDIR /openairinterface5g/targets
COPY --from=enb-builder /openairinterface5g/targets .
WORKDIR /openairinterface5g/cmake_targets
COPY --from=enb-builder /openairinterface5g/cmake_targets/ .
......
......@@ -10,22 +10,42 @@
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# See the License for the specific language governing permissions and limitations under the License.
ARG build_base
FROM $build_base AS ue-builder
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
linux-headers-`uname -r` \
&& rm -rf /var/lib/apt/lists/*
MAINTAINER Luis Ariza "lfarizav@idtolu.com"
RUN apt-get update && apt-get install software-properties-common -y
RUN add-apt-repository -y ppa:myriadrf/drivers
RUN apt-get update
RUN apt-get install sudo -y
RUN apt-get update && apt-get install -y linux-headers-4.11.0-14-generic
RUN rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install software-properties-common -y
RUN add-apt-repository -y ppa:myriadrf/drivers && apt-get update && apt-get install -y limesuite \
liblimesuite-dev \
limesuite-udev \
limesuite-images
RUN apt-get install -y soapysdr-tools \
soapysdr-module-lms7 \
git
WORKDIR /openairinterface5g
ENV USER=root
RUN /bin/bash -c "source oaienv" && cd cmake_targets && ./build_oai --UE -w USRP
RUN apt-get update
RUN apt-get install sudo
RUN /bin/bash -c "source oaienv" && cd cmake_targets && ./build_oai -I -i --UE -w LMSSDR #--build-lib enbscope
RUN git branch
WORKDIR /
COPY enb.band7.tm1.25PRB.lmssdr.conf /openairinterface5g/ci-scripts/conf_files/
FROM ubuntu:16.04 AS lte-uesoftmodem
RUN apt-get update && apt-get install -y \
MAINTAINER Luis Ariza "lfarizav@idtolu.com"
RUN apt-get update
RUN apt-get install sudo -y
RUN apt-get install -y apt-utils \
libssl1.0.0 \
libnettle6 \
libsctp1 \
......@@ -38,7 +58,20 @@ RUN apt-get update && apt-get install -y \
iproute2 \
iputils-ping \
net-tools \
&& rm -rf /var/lib/apt/lists/*
libblas3 \
libatlas-base-dev \
libblas-dev \
iperf
RUN rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install software-properties-common -y
RUN add-apt-repository -y ppa:myriadrf/drivers && apt-get update && apt-get install -y limesuite \
liblimesuite-dev \
limesuite-udev \
limesuite-images
RUN apt-get install -y soapysdr-tools \
soapysdr-module-lms7 \
git
WORKDIR /openairinterface5g/cmake_targets
COPY --from=ue-builder /openairinterface5g/cmake_targets .
......
......@@ -10,22 +10,42 @@
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# See the License for the specific language governing permissions and limitations under the License.
ARG build_base
FROM $build_base AS ue-builder
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
linux-headers-`uname -r` \
&& rm -rf /var/lib/apt/lists/*
MAINTAINER Luis Ariza "lfarizav@idtolu.com"
RUN apt-get update && apt-get install software-properties-common -y
RUN add-apt-repository -y ppa:myriadrf/drivers
RUN apt-get update
RUN apt-get install sudo -y
RUN apt-get update && apt-get install -y linux-headers-$(uname -r)
RUN rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install software-properties-common -y
RUN add-apt-repository -y ppa:myriadrf/drivers && apt-get update && apt-get install -y limesuite \
liblimesuite-dev \
limesuite-udev \
limesuite-images
RUN apt-get install -y soapysdr-tools \
soapysdr-module-lms7 \
git
WORKDIR /openairinterface5g
ENV USER=root
RUN /bin/bash -c "source oaienv" && cd cmake_targets && ./build_oai --UE -w USRP
RUN apt-get update
RUN apt-get install sudo
RUN /bin/bash -c "source oaienv" && cd cmake_targets && ./build_oai -I -i --UE -w LMSSDR #--build-lib enbscope
RUN git branch
WORKDIR /
COPY enb.band7.tm1.25PRB.lmssdr.conf /openairinterface5g/ci-scripts/conf_files/
FROM ubuntu:18.04 AS lte-uesoftmodem
RUN apt-get update && apt-get install -y \
MAINTAINER Luis Ariza "lfarizav@idtolu.com"
RUN apt-get update
RUN apt-get install sudo -y
RUN apt-get install -y apt-utils \
libssl1.0.0 \
libnettle6 \
libsctp1 \
......@@ -41,8 +61,17 @@ RUN apt-get update && apt-get install -y \
libblas3 \
libatlas-base-dev \
libblas-dev \
iperf \
&& rm -rf /var/lib/apt/lists/*
iperf
RUN rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install software-properties-common -y
RUN add-apt-repository -y ppa:myriadrf/drivers && apt-get update && apt-get install -y limesuite \
liblimesuite-dev \
limesuite-udev \
limesuite-images
RUN apt-get install -y soapysdr-tools \
soapysdr-module-lms7 \
git
WORKDIR /openairinterface5g/cmake_targets
COPY --from=ue-builder /openairinterface5g/cmake_targets .
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment