From be0ac07a7a5826a6692cdf113e3dbea5962bfca2 Mon Sep 17 00:00:00 2001 From: Ehsan Saei <71217171+esigo@users.noreply.github.com> Date: Mon, 28 Nov 2022 20:51:58 +0100 Subject: [PATCH] Clean unused docker files (#1817) --- docker/ubuntu14.04/Dockerfile | 42 ----------------------------------- docker/ubuntu16.04/Dockerfile | 38 ------------------------------- docker/ubuntu18.04/Dockerfile | 39 -------------------------------- docker/ubuntu20.04/Dockerfile | 39 -------------------------------- 4 files changed, 158 deletions(-) delete mode 100644 docker/ubuntu14.04/Dockerfile delete mode 100644 docker/ubuntu16.04/Dockerfile delete mode 100644 docker/ubuntu18.04/Dockerfile delete mode 100644 docker/ubuntu20.04/Dockerfile diff --git a/docker/ubuntu14.04/Dockerfile b/docker/ubuntu14.04/Dockerfile deleted file mode 100644 index f4e8a04104..0000000000 --- a/docker/ubuntu14.04/Dockerfile +++ /dev/null @@ -1,42 +0,0 @@ -FROM ubuntu:14.04 -ENV DEBIAN_FRONTEND noninteractive - -## Update cache and upgrade image -RUN apt-get -y update && apt-get -y upgrade && apt-get -y dist-upgrade - -## Build environment packages -RUN apt-get install -qq -y --ignore-missing \ - apt-utils \ - automake \ - bc \ - build-essential \ - bzip2 \ - cmake \ - curl \ - git \ - libcurl4-openssl-dev \ - libssl-dev \ - make \ - pkg-config \ - python \ - sudo \ - tar \ - zip \ - unzip \ - wget \ - zlib1g-dev - -RUN mkdir -p /usr/local/bin - -## Install cmake since it's an expensive operation and best be done once -COPY ./setup-cmake.sh /usr/local/bin/setup-cmake.sh -RUN chmod +x /usr/local/bin/setup-cmake.sh -RUN /usr/local/bin/setup-cmake.sh - -## Install protobuf3 since Ubuntu 14.04 does not have protobuf3 -COPY ./setup-protobuf.sh /usr/local/bin/setup-protobuf.sh -RUN chmod +x /usr/local/bin/setup-protobuf.sh -RUN /usr/local/bin/setup-protobuf.sh - -# ENTRYPOINT bash -CMD /bin/bash diff --git a/docker/ubuntu16.04/Dockerfile b/docker/ubuntu16.04/Dockerfile deleted file mode 100644 index 328600f1cb..0000000000 --- a/docker/ubuntu16.04/Dockerfile +++ /dev/null @@ -1,38 +0,0 @@ -FROM ubuntu:16.04 -ENV DEBIAN_FRONTEND noninteractive - -## Update cache and upgrade image -RUN apt-get -y update && apt-get -y upgrade && apt-get -y dist-upgrade - -## Build environment packages -RUN apt-get install -qq -y --ignore-missing \ - apt-utils \ - automake \ - build-essential \ - bc \ - bzip2 \ - cmake \ - curl \ - git \ - libcurl4-openssl-dev \ - libsqlite3-dev \ - libssl-dev \ - libtool-bin \ - make \ - pkg-config \ - python \ - sudo \ - tar \ - zip \ - unzip \ - wget \ - zlib1g-dev - -## Install cmake since it's an expensive operation and best be done once -RUN mkdir -p /usr/local/bin -COPY ./setup-cmake.sh /usr/local/bin/setup-cmake.sh -RUN chmod +x /usr/local/bin/setup-cmake.sh -RUN /usr/local/bin/setup-cmake.sh - -# ENTRYPOINT bash -CMD /bin/bash diff --git a/docker/ubuntu18.04/Dockerfile b/docker/ubuntu18.04/Dockerfile deleted file mode 100644 index 9e41506b4f..0000000000 --- a/docker/ubuntu18.04/Dockerfile +++ /dev/null @@ -1,39 +0,0 @@ -FROM ubuntu:18.04 -ENV DEBIAN_FRONTEND noninteractive - -## Update cache and upgrade image -RUN apt-get -y update && apt-get -y upgrade && apt-get -y dist-upgrade - -## Build environment packages -RUN apt-get install -qq -y --ignore-missing \ - apt-utils \ - automake \ - bc \ - build-essential \ - bzip2 \ - cmake \ - curl \ - git \ - libcurl4-openssl-dev \ - libssl-dev \ - libtool-bin \ - make \ - pkg-config \ - protobuf-compiler \ - libprotobuf-dev \ - python \ - sudo \ - tar \ - zip \ - unzip \ - wget \ - zlib1g-dev - -## Install cmake since it's an expensive operation and best be done once -RUN mkdir -p /usr/local/bin -COPY ./setup-cmake.sh /usr/local/bin/setup-cmake.sh -RUN chmod +x /usr/local/bin/setup-cmake.sh -RUN /usr/local/bin/setup-cmake.sh - -# ENTRYPOINT bash -CMD /bin/bash diff --git a/docker/ubuntu20.04/Dockerfile b/docker/ubuntu20.04/Dockerfile deleted file mode 100644 index 17dba84799..0000000000 --- a/docker/ubuntu20.04/Dockerfile +++ /dev/null @@ -1,39 +0,0 @@ -FROM ubuntu:20.04 -ENV DEBIAN_FRONTEND noninteractive - -## Update cache and upgrade image -RUN apt-get -y update && apt-get -y upgrade && apt-get -y dist-upgrade - -## Build environment packages -RUN apt-get install -qq -y --ignore-missing \ - apt-utils \ - automake \ - bc \ - build-essential \ - bzip2 \ - cmake \ - curl \ - git \ - libcurl4-openssl-dev \ - libssl-dev \ - libtool-bin \ - make \ - pkg-config \ - protobuf-compiler \ - libprotobuf-dev \ - python \ - sudo \ - tar \ - zip \ - unzip \ - wget \ - zlib1g-dev - -## Install cmake since it's an expensive operation and best be done once -RUN mkdir -p /usr/local/bin -COPY ./setup-cmake.sh /usr/local/bin/setup-cmake.sh -RUN chmod +x /usr/local/bin/setup-cmake.sh -RUN /usr/local/bin/setup-cmake.sh - -# ENTRYPOINT bash -CMD /bin/bash