Shorten directory names with docker image defs 47/447/5
authorLott, Christopher (cl778h) <cl778h@att.com>
Mon, 1 Jul 2019 20:37:29 +0000 (16:37 -0400)
committerLott, Christopher (cl778h) <cl778h@att.com>
Tue, 2 Jul 2019 10:00:10 +0000 (06:00 -0400)
Drop the -nng suffix.

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

docker/bldr-alpine-python-nng/container-tag.yaml [deleted file]
docker/bldr-alpine-python/Dockerfile [moved from docker/bldr-alpine-python-nng/Dockerfile with 93% similarity]
docker/bldr-alpine-python/container-tag.yaml [new file with mode: 0644]
docker/bldr-debian-python/Dockerfile [moved from docker/bldr-debian-python-nng/Dockerfile with 94% similarity]
docker/bldr-debian-python/container-tag.yaml [moved from docker/bldr-debian-python-nng/container-tag.yaml with 82% similarity]
docker/bldr-ubuntu16-c-go/Dockerfile [moved from docker/bldr-ubuntu16-c-go-nng/Dockerfile with 96% similarity]
docker/bldr-ubuntu16-c-go/container-tag.yaml [moved from docker/bldr-ubuntu16-c-go-nng/container-tag.yaml with 100% similarity]
docker/bldr-ubuntu18-c-go/Dockerfile [moved from docker/bldr-ubuntu18-c-go-nng/Dockerfile with 96% similarity]
docker/bldr-ubuntu18-c-go/container-tag.yaml [moved from docker/bldr-ubuntu18-c-go-nng/container-tag.yaml with 100% similarity]

diff --git a/docker/bldr-alpine-python-nng/container-tag.yaml b/docker/bldr-alpine-python-nng/container-tag.yaml
deleted file mode 100644 (file)
index 935ef69..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
----
-tag: 1-py3.7.3-nng1.1.1
similarity index 93%
rename from docker/bldr-alpine-python-nng/Dockerfile
rename to docker/bldr-alpine-python/Dockerfile
index b805a46..88e6399 100644 (file)
@@ -12,7 +12,7 @@
 #   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.
-FROM python:3-alpine
+FROM python:3.7-alpine
 
 RUN apk update && \
  apk add \
@@ -33,9 +33,8 @@ RUN git clone --branch v2015.09.25 git://git.sv.gnu.org/autoconf-archive.git
 RUN cp /tmp/autoconf-archive/m4/* /usr/share/aclocal
 RUN rm -rf /tmp/autoconf-archive
 
-RUN git clone https://github.com/nanomsg/nng
+RUN git clone --branch v1.1.1 https://github.com/nanomsg/nng
 WORKDIR /tmp/nng
-RUN git checkout v1.1.1
 RUN mkdir /tmp/nng/build
 WORKDIR /tmp/nng/build
 RUN cmake -DBUILD_SHARED_LIBS=1 -G Ninja ..
diff --git a/docker/bldr-alpine-python/container-tag.yaml b/docker/bldr-alpine-python/container-tag.yaml
new file mode 100644 (file)
index 0000000..39f7be7
--- /dev/null
@@ -0,0 +1,2 @@
+---
+tag: 1-py3.7-nng1.1.1
similarity index 94%
rename from docker/bldr-debian-python-nng/Dockerfile
rename to docker/bldr-debian-python/Dockerfile
index f2ae43e..c7c5811 100644 (file)
@@ -35,9 +35,8 @@ RUN wget -nv https://github.com/ninja-build/ninja/releases/download/v1.9.0/ninja
     && chmod +x ninja \
     && mv ninja /usr/local/bin
 
-RUN git clone https://github.com/nanomsg/nng.git \
+RUN git clone --branch v1.1.1 https://github.com/nanomsg/nng.git \
     && cd nng \
-    && git checkout v1.1.1 \
     && mkdir build \
     && cd build \
     && cmake -DBUILD_SHARED_LIBS=1 -G Ninja .. \
similarity index 82%
rename from docker/bldr-debian-python-nng/container-tag.yaml
rename to docker/bldr-debian-python/container-tag.yaml
index b575d2e..91a8467 100755 (executable)
@@ -1,4 +1,4 @@
 # Not feasible to show all the software versions
 # here so just use a counter plus the base image
 ---
-tag: 2-py3.7-nng1.1.1
+tag: 3-py3.7-nng1.1.1
similarity index 96%
rename from docker/bldr-ubuntu16-c-go-nng/Dockerfile
rename to docker/bldr-ubuntu16-c-go/Dockerfile
index 6bee340..0212d7d 100644 (file)
@@ -64,9 +64,8 @@ RUN wget -nv https://github.com/ninja-build/ninja/releases/download/v1.9.0/ninja
     && chmod +x ninja \
     && mv ninja /usr/local/bin
 
-RUN git clone https://github.com/nanomsg/nng.git \
+RUN git clone --branch v1.1.1 https://github.com/nanomsg/nng.git \
     && cd nng \
-    && git checkout v1.1.1 \
     && mkdir build \
     && cd build \
     && cmake -DBUILD_SHARED_LIBS=1 -G Ninja .. \
similarity index 96%
rename from docker/bldr-ubuntu18-c-go-nng/Dockerfile
rename to docker/bldr-ubuntu18-c-go/Dockerfile
index e9e0937..c8421c9 100644 (file)
@@ -64,9 +64,8 @@ RUN wget -nv https://github.com/ninja-build/ninja/releases/download/v1.9.0/ninja
     && chmod +x ninja \
     && mv ninja /usr/local/bin
 
-RUN git clone https://github.com/nanomsg/nng.git \
+RUN git clone --branch v1.1.1 https://github.com/nanomsg/nng.git \
     && cd nng \
-    && git checkout v1.1.1 \
     && mkdir build \
     && cd build \
     && cmake -DBUILD_SHARED_LIBS=1 -G Ninja .. \