Drop build image Dockerfiles migrated to it/dev 02/3002/1
authorLott, Christopher (cl778h) <cl778h@att.com>
Thu, 26 Mar 2020 19:35:20 +0000 (15:35 -0400)
committerLott, Christopher (cl778h) <cl778h@att.com>
Thu, 26 Mar 2020 19:35:20 +0000 (15:35 -0400)
No longer being maintained in the ci-management repo

Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: Iae2dbfcb5457b54e38420491fc17883fed91815e

docker/README.md
docker/bldr-alpine3-go/Dockerfile [deleted file]
docker/bldr-alpine3-go/container-tag.yaml [deleted file]
docker/bldr-alpine3/Dockerfile [deleted file]
docker/bldr-alpine3/container-tag.yaml [deleted file]
docker/bldr-ubuntu18-c-go/Dockerfile [deleted file]
docker/bldr-ubuntu18-c-go/container-tag.yaml [deleted file]

index 2dc0912..36666ee 100644 (file)
@@ -1,10 +1,4 @@
-# CI builder images for O-RAN-SC at LF
+# Deprecated CI builder images for O-RAN-SC at LF
 
-The O-RAN-SC project runs most CI tasks in Docker instead of
-maintaining build and compile tools in LF-managed Jenkins build
-minions.  This area contains the Dockerfiles to assemble images that
-are used as the first stage in a multi-stage Docker build.  These
-images have large build and compile tools like C, C++, Golang, cmake,
-ninja, etc.  These images are used to compile source and create binary
-artifacts of O-RAN-SC software features, which are then wrapped in
-minimal docker images for use.
+This directory has an outdated and deprecated build image.
+TODO: remove when all projects have migrated away.
diff --git a/docker/bldr-alpine3-go/Dockerfile b/docker/bldr-alpine3-go/Dockerfile
deleted file mode 100644 (file)
index e258fcf..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-# ==================================================================================
-#       Copyright (c) 2020 Nokia
-#       Copyright (c) 2020 AT&T Intellectual Property.
-#
-#   Licensed under the Apache License, Version 2.0 (the "License");
-#   you may not use this file except in compliance with the License.
-#   You may obtain a copy of the License at
-#
-#          http://www.apache.org/licenses/LICENSE-2.0
-#
-#   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.
-# ==================================================================================
-
-# Has:
-# golang 1.13.8
-# alpine 3.11
-# rmr 3.6.1
-# Installing this version of rmr also pulls in nng
-
-# install a well known working rmr
-FROM golang:1.13.8-alpine3.11
-RUN apk update && apk add autoconf automake build-base cmake libtool ninja pkgconfig git sudo
-RUN git clone --branch 3.6.1 https://gerrit.oran-osc.org/r/ric-plt/lib/rmr \
-    && cd rmr \
-    && mkdir .build; cd .build \
-    && echo "<<<installing rmr devel headers>>>" \
-    && cmake .. -DDEV_PKG=1; make install \
-    && echo "<<< installing rmr .so>>>" \
-    && cmake .. -DPACK_EXTERNALS=1; make install
diff --git a/docker/bldr-alpine3-go/container-tag.yaml b/docker/bldr-alpine3-go/container-tag.yaml
deleted file mode 100644 (file)
index 3e43bdd..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
----
-tag: 3-rmr-si95-nng-3.6.1
diff --git a/docker/bldr-alpine3/Dockerfile b/docker/bldr-alpine3/Dockerfile
deleted file mode 100644 (file)
index 38ec73b..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-# O-RAN-SC
-#
-# Copyright (C) 2019-2020 AT&T Intellectual Property and Nokia
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# 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.
-
-# This is an all-things-to-all-ORAN-people build image with:
-# alpine v 3.11
-# gcc/g++ v 8
-# golang v 1.13.4
-# python 3.7
-# nng library (rmr.h, libnng.so, libnng.so.X.X.X; version pinned by RMR)
-# mdc log library (libmdclog.so, libmdbclog.so.X.X.X; see below for pinned version)
-# rmr library (librmr_nng.so, libmdclog.so..X.X.X; see below for pinned version)
-#
-# Some packages install to /usr/local/lib, others to /usr/local/lib64
-# Alpine by default searches /usr/local/lib but not /usr/local/lib64
-#
-# How to get library files from this Docker base image:
-# COPY --from=nexus3.o-ran-sc.org:10004/bldr-alpine3:TAG /usr/local/lib64/libnng.so.X.X.X /usr/local/lib
-# COPY --from=nexus3.o-ran-sc.org:10004/bldr-alpine3:TAG /usr/local/lib64/librmr_nng.so.X.X.X /usr/local/lib
-# COPY --from=nexus3.o-ran-sc.org:10004/bldr-alpine3:TAG /usr/local/lib/libmdclog.so.X.X.X /usr/local/lib
-
-FROM python:3.7-alpine
-RUN apk update && apk add \
-  autoconf \
-  automake \
-  build-base \
-  cmake \
-  libtool \
-  ninja \
-  pkgconfig \
-  python-dev \
-  sudo \
-  git \
-  go
-
-# the autoconf-archive in alpine's edge repos is too new
-# for our purposes, so we'll use one from the source.
-RUN cd /tmp \
-    && git clone --branch v2015.09.25 git://git.sv.gnu.org/autoconf-archive.git \
-    && cp /tmp/autoconf-archive/m4/* /usr/share/aclocal \
-    && rm -rf /tmp/autoconf-archive
-
-# MCDLOG, version is pinned
-RUN cd /tmp \
-   && git clone --branch v0.0.4 https://gerrit.o-ran-sc.org/r/com/log \
-   && cd log \
-   && ./autogen.sh \
-   && ./configure \
-   && make \
-   && make install
-
-# install a well known working rmr including development header files,
-# which uses a submodule to install NNG at a known commit
-RUN apk update && apk add autoconf automake build-base cmake libtool ninja pkgconfig git sudo
-RUN git clone --branch 3.6.1 https://gerrit.oran-osc.org/r/ric-plt/lib/rmr \
-    && cd rmr \
-    && mkdir .build; cd .build \
-    && echo "<<<installing rmr devel headers>>>" \
-    && cmake .. -DDEV_PKG=1; make install \
-    && echo "<<< installing rmr .so>>>" \
-    && cmake .. -DPACK_EXTERNALS=1; make install
diff --git a/docker/bldr-alpine3/container-tag.yaml b/docker/bldr-alpine3/container-tag.yaml
deleted file mode 100644 (file)
index 75ee09a..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-# Not feasible to show all the software versions
----
-tag: 7-a3.11-nng-rmr3
diff --git a/docker/bldr-ubuntu18-c-go/Dockerfile b/docker/bldr-ubuntu18-c-go/Dockerfile
deleted file mode 100644 (file)
index d9f1fe5..0000000
+++ /dev/null
@@ -1,128 +0,0 @@
-# O-RAN-SC
-#
-# Copyright (C) 2019-2020 AT&T Intellectual Property and Nokia
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# 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.
-
-# Builder image with superset of CI tools for RIC components
-
-FROM nexus3.o-ran-sc.org:10001/ubuntu:18.04
-
-RUN apt-get update && apt-get install -y \
-    autoconf \
-    autoconf-archive \
-    automake \
-    autotools-dev \
-    build-essential \
-    g++  \
-    gcc \
-    git \
-    libbz2-dev \
-    libicu-dev \
-    libsctp-dev \
-    libtool \
-    lksctp-tools \
-    make \
-    python-dev \
-    pkg-config \
-    software-properties-common \
-    sudo \
-    wget \
-    zlib1g \
-    zlib1g-dev \
-    zlibc \
-    zip
-
-WORKDIR /tmp
-
-# Install go versions in /opt
-RUN mkdir -p /opt/go
-
-ARG g12="1.12.17"
-RUN wget -nv https://dl.google.com/go/go${g12}.linux-amd64.tar.gz \
-    && tar -xf go${g12}.linux-amd64.tar.gz \
-    && mv go /opt/go/1.12 \
-    && rm -f go*.gz
-
-ARG g13="1.13.8"
-RUN wget -nv https://dl.google.com/go/go${g13}.linux-amd64.tar.gz \
-    && tar -xf go${g13}.linux-amd64.tar.gz \
-    && mv go /opt/go/1.13 \
-    && rm -f go*.gz
-
-ARG g14="1.14"
-RUN wget -nv https://dl.google.com/go/go${g14}.linux-amd64.tar.gz \
-    && tar -xf go${g14}.linux-amd64.tar.gz \
-    && mv go /opt/go/1.14 \
-    && rm -f go*.gz
-
-ENV GOPATH=/root/go
-# Default path has go version 1.12.x
-# Use /opt/go/1.13/bin for version 1.13.x
-# Use /opt/go/1.14/bin for version 1.14.x
-ENV PATH=$PATH:/opt/go/1.12/bin:$GOPATH/bin
-
-# This installs go-acc to GOPATH
-RUN go version \
-    && go get -v github.com/ory/go-acc \
-    && go-acc --help
-
-# install a recent version of cmake, ubuntu repo version is old
-ARG cv="3.14.5"
-RUN wget -nv https://github.com/Kitware/CMake/releases/download/v${cv}/cmake-${cv}-Linux-x86_64.sh \
-    && chmod +x cmake-${cv}-Linux-x86_64.sh \
-    && ./cmake-${cv}-Linux-x86_64.sh --prefix=/usr/local --skip-license \
-    && rm -f cmake*.sh
-
-# install a recent version of ninja-build, ubuntu repo version is old
-RUN wget -nv https://github.com/ninja-build/ninja/releases/download/v1.9.0/ninja-linux.zip \
-    && unzip ninja-linux.zip \
-    && chmod +x ninja \
-    && mv ninja /usr/local/bin \
-    && rm -f ninja*.zip
-
-# sonar-scanner is not available in ubuntu repo
-ARG sv="4.2.0.1873"
-RUN wget -nv https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-${sv}-linux.zip \
-    && unzip sonar-scanner-cli-${sv}-linux.zip \
-    && mv sonar-scanner-${sv}-linux /usr/local/sonar-scanner \
-    && rm -f sonar*.zip
-
-# golangci-lint is not available in ubuntu repo
-RUN wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $GOPATH/bin v1.23.6 \
-    && rm -f install.sh
-
-# NNG repo is not frequently tagged so it's pinned to a commit hash.
-# This commit provides fix to the proxy-reconnect
-# bug that we identified:  https://github.com/nanomsg/nng/issues/970
-RUN git clone https://github.com/nanomsg/nng.git \
-    && cd nng \
-    && git checkout e618abf8f3db2a94269a79c8901a51148d48fcc2 \
-    && mkdir build \
-    && cd build \
-    && cmake -DBUILD_SHARED_LIBS=1 -G Ninja .. \
-    && ninja \
-    && ninja install \
-    && cd ../.. \
-    && rm -rf nng
-
-# install a recent version of boost, ubuntu repo version is old
-ARG bv="1_69_0"
-RUN wget -nv https://dl.bintray.com/boostorg/release/1.69.0/source/boost_${bv}.zip \
-    && unzip -q boost_${bv}.zip \
-    && cd boost_${bv} \
-    && ./bootstrap.sh --prefix=/usr/ \
-    && ./b2 \
-    && ./b2 install \
-    && cd ../ \
-    && rm -rf boost*.zip boost_${bv}
diff --git a/docker/bldr-ubuntu18-c-go/container-tag.yaml b/docker/bldr-ubuntu18-c-go/container-tag.yaml
deleted file mode 100644 (file)
index 0bffd9f..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-# Not feasible to show all the software versions
-# here so just use a counter plus the base image
----
-tag: 5-u18.04-nng