From a6d8ec8b8d80ecaa09996e7f0f073e637c40ce02 Mon Sep 17 00:00:00 2001 From: Daniel Black Date: Mon, 11 May 2020 19:51:48 +1000 Subject: [PATCH 1/3] Remove non-s390x supported OS --- centos/6/CentOS-SCLo-scl-rh.repo | 11 ---- centos/6/CentOS-SCLo-scl.repo | 11 ---- centos/6/Dockerfile | 39 ----------- centos/7/Dockerfile | 61 ----------------- centos/8/Dockerfile | 27 -------- debian/jessie/Dockerfile | 45 ------------- debian/jessie/preferences | 7 -- debian/sid/Dockerfile | 43 ------------ debian/stretch/Dockerfile | 43 ------------ debian/wheezy/Dockerfile | 47 -------------- debian/wheezy/backports.list | 2 - debian/wheezy/preferences | 3 - debian/wheezy/sources.list | 2 - fedora/26/Dockerfile | 27 -------- fedora/27/Dockerfile | 27 -------- fedora/28/Dockerfile | 18 ----- fedora/29/Dockerfile | 18 ----- opensuse/leap/15.0/Dockerfile | 24 ------- opensuse/leap/15.1/Dockerfile | 24 ------- opensuse/leap/15.2/Dockerfile | 24 ------- rumprun/hw/Dockerfile | 65 ------------------- rumprun/hw/src-netbsd.patch | 40 ------------ rumprun/hw/x86_64-rumprun-netbsd-cmake | 2 - .../hw/x86_64-rumprun-netbsd-toolchain.cmake | 17 ----- ubuntu/artful/Dockerfile | 44 ------------- ubuntu/cosmic/Dockerfile | 41 ------------ ubuntu/disco/Dockerfile | 41 ------------ ubuntu/precise/Dockerfile | 46 ------------- ubuntu/precise/backports.list | 2 - ubuntu/precise/preferences | 3 - ubuntu/trusty/Dockerfile | 46 ------------- 31 files changed, 850 deletions(-) delete mode 100644 centos/6/CentOS-SCLo-scl-rh.repo delete mode 100644 centos/6/CentOS-SCLo-scl.repo delete mode 100644 centos/6/Dockerfile delete mode 100644 centos/7/Dockerfile delete mode 100644 centos/8/Dockerfile delete mode 100644 debian/jessie/Dockerfile delete mode 100644 debian/jessie/preferences delete mode 100644 debian/sid/Dockerfile delete mode 100644 debian/stretch/Dockerfile delete mode 100644 debian/wheezy/Dockerfile delete mode 100644 debian/wheezy/backports.list delete mode 100644 debian/wheezy/preferences delete mode 100644 debian/wheezy/sources.list delete mode 100644 fedora/26/Dockerfile delete mode 100644 fedora/27/Dockerfile delete mode 100644 fedora/28/Dockerfile delete mode 100644 fedora/29/Dockerfile delete mode 100644 opensuse/leap/15.0/Dockerfile delete mode 100644 opensuse/leap/15.1/Dockerfile delete mode 100644 opensuse/leap/15.2/Dockerfile delete mode 100644 rumprun/hw/Dockerfile delete mode 100644 rumprun/hw/src-netbsd.patch delete mode 100755 rumprun/hw/x86_64-rumprun-netbsd-cmake delete mode 100644 rumprun/hw/x86_64-rumprun-netbsd-toolchain.cmake delete mode 100644 ubuntu/artful/Dockerfile delete mode 100644 ubuntu/cosmic/Dockerfile delete mode 100644 ubuntu/disco/Dockerfile delete mode 100644 ubuntu/precise/Dockerfile delete mode 100644 ubuntu/precise/backports.list delete mode 100644 ubuntu/precise/preferences delete mode 100644 ubuntu/trusty/Dockerfile diff --git a/centos/6/CentOS-SCLo-scl-rh.repo b/centos/6/CentOS-SCLo-scl-rh.repo deleted file mode 100644 index faa8613..0000000 --- a/centos/6/CentOS-SCLo-scl-rh.repo +++ /dev/null @@ -1,11 +0,0 @@ -# CentOS-SCLo-rh.repo -# -# Please see http://wiki.centos.org/SpecialInterestGroup/SCLo for more -# information - -[centos-sclo-rh] -name=CentOS-6 - SCLo rh -baseurl=http://mirror.centos.org/centos/6/sclo/$basearch/rh/ -gpgcheck=0 -enabled=1 -# gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo diff --git a/centos/6/CentOS-SCLo-scl.repo b/centos/6/CentOS-SCLo-scl.repo deleted file mode 100644 index 9a468ba..0000000 --- a/centos/6/CentOS-SCLo-scl.repo +++ /dev/null @@ -1,11 +0,0 @@ -# CentOS-SCLo-sclo.repo -# -# Please see http://wiki.centos.org/SpecialInterestGroup/SCLo for more -# information - -[centos-sclo-sclo] -name=CentOS-6 - SCLo sclo -baseurl=http://mirror.centos.org/centos/6/sclo/$basearch/sclo/ -gpgcheck=0 -enabled=1 -# gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo diff --git a/centos/6/Dockerfile b/centos/6/Dockerfile deleted file mode 100644 index 0f5afd2..0000000 --- a/centos/6/Dockerfile +++ /dev/null @@ -1,39 +0,0 @@ -FROM centos:6 -MAINTAINER Roman Tsisyk - -# Fix missing locales -ENV LC_ALL="en_US.UTF-8" LANG="en_US.UTF-8" - -# Enable extra repositories -RUN yum -y install \ - wget \ - curl \ - pygpgme \ - yum-utils -RUN yum -y install epel-release -ADD CentOS-SCLo-scl.repo /etc/yum.repos.d/ -ADD CentOS-SCLo-scl-rh.repo /etc/yum.repos.d/ -RUN curl -s https://packagecloud.io/install/repositories/packpack/backports/script.rpm.sh | bash -RUN yum makecache && yum clean all - -# Install base toolset -RUN yum -y groupinstall 'Development Tools' -RUN yum -y install \ - devtoolset-6-toolchain devtoolset-6-binutils-devel \ - cmake cmake28 cmake3 \ - sudo \ - vim-minimal - -# Enable sudo without tty -RUN sed -i.bak -n -e '/^Defaults.*requiretty/ { s/^/# /;};/^%wheel.*ALL$/ { s/^/# / ;} ;/^#.*wheel.*NOPASSWD/ { s/^#[ ]*//;};p' /etc/sudoers - -# Enable devtoolset and ccache system-wide -# See /opt/rh/devtoolset-6/enable -ENV PATH=/usr/lib64/ccache:/opt/rh/devtoolset-6/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin -ENV LD_LIBRARY_PATH=/opt/rh/devtoolset-6/root/usr/lib64:/opt/rh/devtoolset-6/root/usr/lib -ENV PERL5LIB=/opt/rh/devtoolset-6/root//usr/lib64/perl5/vendor_perl:/opt/rh/devtoolset-6/root/usr/lib/perl5:/opt/rh/devtoolset-6/root//usr/share/perl5/vendor_perl -ENV PYTHONPATH=/opt/rh/devtoolset-6/root/usr/lib64/python2.6/site-packages:/opt/rh/devtoolset-6/root/usr/lib/python2.6/site-packages -ENV XDG_CONFIG_DIRS=/opt/rh/devtoolset-6/root/etc/xdg:/etc/xdg -ENV XDG_DATA_DIRS=/opt/rh/devtoolset-6/root/usr/share:/usr/local/share:/usr/share -# sudo wrapper from devtoolset is buggy, remove it -RUN rm -f /opt/rh/devtoolset-6/root/usr/bin/sudo diff --git a/centos/7/Dockerfile b/centos/7/Dockerfile deleted file mode 100644 index 156aa4f..0000000 --- a/centos/7/Dockerfile +++ /dev/null @@ -1,61 +0,0 @@ -FROM centos:7 -MAINTAINER Roman Tsisyk - -ARG DEVTOOLSET=devtoolset-8 - -# Fix missing locales -ENV LC_ALL="en_US.UTF-8" LANG="en_US.UTF-8" - -# Enable extra repositories -RUN yum -y install \ - wget \ - curl \ - pygpgme \ - yum-utils -RUN yum -y install epel-release centos-release-scl centos-release-scl-rh -RUN curl -s https://packagecloud.io/install/repositories/packpack/backports/script.rpm.sh | bash - -# Install base toolset -RUN yum -y groupinstall 'Development Tools' -RUN yum -y install \ - ${DEVTOOLSET}-toolchain ${DEVTOOLSET}-binutils-devel \ - cmake cmake28 cmake3 \ - sudo - -# Enable sudo without tty -RUN sed -i.bak -n -e '/^Defaults.*requiretty/ { s/^/# /;};/^%wheel.*ALL$/ { s/^/# / ;} ;/^#.*wheel.*NOPASSWD/ { s/^#[ ]*//;};p' /etc/sudoers - -# Enable devtoolset and ccache system-wide -# See /opt/rh/${DEVTOOLSET}/enable -ENV PATH=/usr/lib64/ccache:/opt/rh/${DEVTOOLSET}/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin -ENV LD_LIBRARY_PATH=/opt/rh/${DEVTOOLSET}/root/usr/lib64:/opt/rh/${DEVTOOLSET}/root/usr/lib -ENV PERL5LIB=/opt/rh/${DEVTOOLSET}/root/usr/lib64/perl5/vendor_perl:/opt/rh/${DEVTOOLSET}/root/usr/lib/perl5:/opt/rh/${DEVTOOLSET}/root/usr/share/perl5/vendor_perl -ENV PYTHONPATH=/opt/rh/${DEVTOOLSET}/root/usr/lib64/python2.7/site-packages:/opt/rh/${DEVTOOLSET}/root/usr/lib/python2.7/site-packages -ENV XDG_CONFIG_DIRS=/opt/rh/${DEVTOOLSET}/root/etc/xdg:/etc/xdg -ENV XDG_DATA_DIRS=/opt/rh/${DEVTOOLSET}/root/usr/share:/usr/local/share:/usr/share - -# sudo wrapper from devtoolset is buggy, remove it -RUN rm -f /opt/rh/${DEVTOOLSET}/root/usr/bin/sudo - -# A workaround for [Errno 14] HTTP Error 404 - Not Found -# https://bugs.centos.org/view.php?id=12793 -RUN sed -e '/\[centos-sclo-sclo-source\]/,+6d' -i /etc/yum.repos.d/CentOS-SCLo-scl.repo -RUN sed -e '/\[centos-sclo-rh-source\]/,+6d' -i /etc/yum.repos.d/CentOS-SCLo-scl-rh.repo - -# extras-source is not present for CentOS 7.8, while -# http://vault.centos.org/centos/7 now points to 7.8.2003. -# -# yum-builddep enables the repository and fetching of -# repomd.xml fails with 404 error. -# -# Don't know whether it is temporary effect or not, but -# it worth to remove the repository until it will be -# available on CentOS mirrors. -# -# How to check: -# -# $ curl -fSs 'http://vault.centos.org/centos/7/extras/Source/repodata/repomd.xml' -# curl: (22) The requested URL returned error: 404 Not Found -# -# The output above means that the problem is there. -RUN sed -e '/\[extras-source\]/,+6d' -i /etc/yum.repos.d/CentOS-Sources.repo diff --git a/centos/8/Dockerfile b/centos/8/Dockerfile deleted file mode 100644 index 1aa84cd..0000000 --- a/centos/8/Dockerfile +++ /dev/null @@ -1,27 +0,0 @@ -FROM centos:8 -MAINTAINER Alexander V. Tikhonov - -# Enable extra tools -RUN yum -y install wget yum-utils - -# Enable extra repositories -RUN yum -y install epel-release -# added PowerTools as suggested at: -# https://fedoraproject.org/wiki/EPEL -RUN yum config-manager --set-enabled PowerTools - -# Repository for building/testing dependencies that are not present in vanilla -# CentOS and PowerTools / EPEL repositories, e.g. some Python 2 packages -# - fix missing locales -ENV LC_ALL="C" LANG="en_US.UTF-8" -# - install the backport repository -RUN curl -s https://packagecloud.io/install/repositories/packpack/backports/script.rpm.sh | bash - -# Install base toolset -RUN yum -y groupinstall 'Development Tools' -RUN yum -y install \ - cmake \ - sudo - -# Enable sudo without tty -RUN sed -i.bak -n -e '/^Defaults.*requiretty/ { s/^/# /;};/^%wheel.*ALL$/ { s/^/# / ;} ;/^#.*wheel.*NOPASSWD/ { s/^#[ ]*//;};p' /etc/sudoers diff --git a/debian/jessie/Dockerfile b/debian/jessie/Dockerfile deleted file mode 100644 index b1d2703..0000000 --- a/debian/jessie/Dockerfile +++ /dev/null @@ -1,45 +0,0 @@ -FROM debian:jessie -MAINTAINER Roman Tsisyk - -# Fix missing locales -ENV LC_ALL="C.UTF-8" LANG="C.UTF-8" - -# Skip interactive post-install scripts -ENV DEBIAN_FRONTEND=noninteractive - -# Don't install recommends -RUN echo 'apt::install-recommends "false";' > /etc/apt/apt.conf.d/00recommends - -# Drop EOL repositories -RUN sed -i '/jessie-updates/d' /etc/apt/sources.list - -# Enable extra repositories -RUN apt-get update && apt-get install -y --force-yes \ - apt-transport-https \ - curl \ - wget \ - gnupg \ - ca-certificates -ADD preferences /etc/apt/preferences.d/ -RUN curl -s https://packagecloud.io/install/repositories/packpack/backports/script.deb.sh | bash - -# Install base toolset -RUN apt-get update && apt-get install -y --force-yes \ - sudo \ - git \ - build-essential \ - cmake \ - gdb \ - ccache \ - devscripts \ - debhelper \ - cdbs \ - fakeroot \ - lintian \ - equivs \ - rpm \ - alien \ - dh-systemd - -# Enable sudo without password -RUN echo '%adm ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers diff --git a/debian/jessie/preferences b/debian/jessie/preferences deleted file mode 100644 index 28a3d50..0000000 --- a/debian/jessie/preferences +++ /dev/null @@ -1,7 +0,0 @@ -Package: * -Pin: release a=jessie-backports -Pin-Priority: 100 - -Package: cmake cmake-data -Pin: release a=jessie-backports -Pin-Priority: 800 diff --git a/debian/sid/Dockerfile b/debian/sid/Dockerfile deleted file mode 100644 index f0d789b..0000000 --- a/debian/sid/Dockerfile +++ /dev/null @@ -1,43 +0,0 @@ -FROM debian:sid -MAINTAINER Roman Tsisyk - -# Fix missing locales -ENV LC_ALL="C.UTF-8" LANG="C.UTF-8" - -# Skip interactive post-install scripts -ENV DEBIAN_FRONTEND=noninteractive - -# Don't install recommends -RUN echo 'apt::install-recommends "false";' > /etc/apt/apt.conf.d/00recommends - -# Enable extra repositories -RUN apt-get update && apt-get install -y --force-yes \ - apt-transport-https \ - curl \ - wget \ - gnupg \ - ca-certificates -#ADD backports.list /etc/apt/sources.list.d/ -#ADD preferences /etc/apt/preferences.d/ -#RUN curl -s https://packagecloud.io/install/repositories/packpack/backports/script.deb.sh | bash - -# Install base toolset -RUN apt-get update && apt-get install -y --force-yes \ - sudo \ - git \ - build-essential \ - cmake \ - gdb \ - ccache \ - devscripts \ - debhelper \ - cdbs \ - fakeroot \ - lintian \ - equivs \ - rpm \ - alien \ - dh-systemd - -# Enable sudo without password -RUN echo '%adm ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers diff --git a/debian/stretch/Dockerfile b/debian/stretch/Dockerfile deleted file mode 100644 index 35b736c..0000000 --- a/debian/stretch/Dockerfile +++ /dev/null @@ -1,43 +0,0 @@ -FROM debian:stretch -MAINTAINER Roman Tsisyk - -# Fix missing locales -ENV LC_ALL="C.UTF-8" LANG="C.UTF-8" - -# Skip interactive post-install scripts -ENV DEBIAN_FRONTEND=noninteractive - -# Don't install recommends -RUN echo 'apt::install-recommends "false";' > /etc/apt/apt.conf.d/00recommends - -# Enable extra repositories -RUN apt-get update && apt-get install -y --force-yes \ - apt-transport-https \ - curl \ - wget \ - gnupg \ - ca-certificates -#ADD backports.list /etc/apt/sources.list.d/ -#ADD preferences /etc/apt/preferences.d/ -#RUN curl -s https://packagecloud.io/install/repositories/packpack/backports/script.deb.sh | bash - -# Install base toolset -RUN apt-get update && apt-get install -y --force-yes \ - sudo \ - git \ - build-essential \ - cmake \ - gdb \ - ccache \ - devscripts \ - debhelper \ - cdbs \ - fakeroot \ - lintian \ - equivs \ - rpm \ - alien \ - dh-systemd - -# Enable sudo without password -RUN echo '%adm ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers diff --git a/debian/wheezy/Dockerfile b/debian/wheezy/Dockerfile deleted file mode 100644 index 57fde46..0000000 --- a/debian/wheezy/Dockerfile +++ /dev/null @@ -1,47 +0,0 @@ -FROM debian:wheezy -MAINTAINER Roman Tsisyk - -# Fix missing locales -ENV LC_ALL="C.UTF-8" LANG="C.UTF-8" - -# Skip interactive post-install scripts -ENV DEBIAN_FRONTEND=noninteractive - -# Don't install recommends -RUN echo 'apt::install-recommends "false";' > /etc/apt/apt.conf.d/00recommends - -# Use the archive repository -ADD sources.list /etc/apt/ -RUN echo "Acquire::Check-Valid-Until false;" > /etc/apt/apt.conf.d/00nocheckvalid - -# Enable extra repositories -RUN apt-get update && apt-get install -y --force-yes \ - apt-transport-https \ - curl \ - wget \ - gnupg \ - ca-certificates -ADD backports.list /etc/apt/sources.list.d/ -ADD preferences /etc/apt/preferences.d/ -RUN curl -s https://packagecloud.io/install/repositories/packpack/backports/script.deb.sh | bash - -# Install base toolset -RUN apt-get update && apt-get install -y --force-yes \ - sudo \ - git \ - build-essential \ - cmake \ - gdb \ - ccache \ - devscripts \ - debhelper \ - cdbs \ - fakeroot \ - lintian \ - equivs \ - rpm \ - alien \ - dh-systemd - -# Enable sudo without password -RUN echo '%adm ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers diff --git a/debian/wheezy/backports.list b/debian/wheezy/backports.list deleted file mode 100644 index a750c1b..0000000 --- a/debian/wheezy/backports.list +++ /dev/null @@ -1,2 +0,0 @@ -deb http://archive.debian.org/debian wheezy-backports main -deb-src http://archive.debian.org/debian wheezy-backports main diff --git a/debian/wheezy/preferences b/debian/wheezy/preferences deleted file mode 100644 index 547e9eb..0000000 --- a/debian/wheezy/preferences +++ /dev/null @@ -1,3 +0,0 @@ -Package: * -Pin: release a=wheezy-backports -Pin-Priority: 100 diff --git a/debian/wheezy/sources.list b/debian/wheezy/sources.list deleted file mode 100644 index 18c86e1..0000000 --- a/debian/wheezy/sources.list +++ /dev/null @@ -1,2 +0,0 @@ -deb http://archive.debian.org/debian wheezy main -deb http://archive.debian.org/debian-security wheezy/updates main diff --git a/fedora/26/Dockerfile b/fedora/26/Dockerfile deleted file mode 100644 index 111170c..0000000 --- a/fedora/26/Dockerfile +++ /dev/null @@ -1,27 +0,0 @@ -FROM fedora:26 -MAINTAINER Roman Tsisyk - -# Fix missing locales -ENV LC_ALL="C.UTF-8" LANG="C.UTF-8" - -# Enable extra repositories -RUN yum -y install \ - wget \ - curl \ - pygpgme \ - yum-utils -# RUN curl -s https://packagecloud.io/install/repositories/packpack/backports/script.rpm.sh | bash - -# Install base toolset -RUN dnf -y group install 'Development Tools' -RUN dnf -y group install 'C Development Tools and Libraries' -RUN dnf -y group install 'RPM Development Tools' -RUN dnf -y install fedora-packager -RUN dnf -y install sudo git ccache cmake -RUN dnf -y update vim-minimal - -# Enable cache system-wide -ENV PATH /usr/lib/ccache:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin - -# Enable sudo without tty -RUN sed -i.bak -n -e '/^Defaults.*requiretty/ { s/^/# /;};/^%wheel.*ALL$/ { s/^/# / ;} ;/^#.*wheel.*NOPASSWD/ { s/^#[ ]*//;};p' /etc/sudoers diff --git a/fedora/27/Dockerfile b/fedora/27/Dockerfile deleted file mode 100644 index 732b696..0000000 --- a/fedora/27/Dockerfile +++ /dev/null @@ -1,27 +0,0 @@ -FROM fedora:27 -MAINTAINER Roman Tsisyk - -# Fix missing locales -ENV LC_ALL="C.UTF-8" LANG="C.UTF-8" - -# Enable extra repositories -RUN yum -y install \ - wget \ - curl \ - pygpgme \ - yum-utils -# RUN curl -s https://packagecloud.io/install/repositories/packpack/backports/script.rpm.sh | bash - -# Install base toolset -RUN dnf -y group install 'Development Tools' -RUN dnf -y group install 'C Development Tools and Libraries' -RUN dnf -y group install 'RPM Development Tools' -RUN dnf -y install fedora-packager -RUN dnf -y install sudo git ccache cmake -RUN dnf -y update vim-minimal - -# Enable cache system-wide -ENV PATH /usr/lib/ccache:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin - -# Enable sudo without tty -RUN sed -i.bak -n -e '/^Defaults.*requiretty/ { s/^/# /;};/^%wheel.*ALL$/ { s/^/# / ;} ;/^#.*wheel.*NOPASSWD/ { s/^#[ ]*//;};p' /etc/sudoers diff --git a/fedora/28/Dockerfile b/fedora/28/Dockerfile deleted file mode 100644 index 55481d0..0000000 --- a/fedora/28/Dockerfile +++ /dev/null @@ -1,18 +0,0 @@ -FROM fedora:28 -MAINTAINER Alexey Kopytov - -# Fix missing locales -ENV LC_ALL="C.UTF-8" LANG="C.UTF-8" - -# Install base toolset -RUN dnf -y group install 'Development Tools' -RUN dnf -y group install 'C Development Tools and Libraries' -RUN dnf -y group install 'RPM Development Tools' -RUN dnf -y install fedora-packager -RUN dnf -y install sudo git ccache cmake - -# Enable cache system-wide -ENV PATH /usr/lib/ccache:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin - -# Enable sudo without tty -RUN sed -i.bak -n -e '/^Defaults.*requiretty/ { s/^/# /;};/^%wheel.*ALL$/ { s/^/# / ;} ;/^#.*wheel.*NOPASSWD/ { s/^#[ ]*//;};p' /etc/sudoers diff --git a/fedora/29/Dockerfile b/fedora/29/Dockerfile deleted file mode 100644 index 553a58b..0000000 --- a/fedora/29/Dockerfile +++ /dev/null @@ -1,18 +0,0 @@ -FROM fedora:29 -MAINTAINER Alexey Kopytov - -# Fix missing locales -ENV LC_ALL="C.UTF-8" LANG="C.UTF-8" - -# Install base toolset -RUN dnf -y group install 'Development Tools' -RUN dnf -y group install 'C Development Tools and Libraries' -RUN dnf -y group install 'RPM Development Tools' -RUN dnf -y install fedora-packager -RUN dnf -y install sudo git ccache cmake - -# Enable cache system-wide -ENV PATH /usr/lib/ccache:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin - -# Enable sudo without tty -RUN sed -i.bak -n -e '/^Defaults.*requiretty/ { s/^/# /;};/^%wheel.*ALL$/ { s/^/# / ;} ;/^#.*wheel.*NOPASSWD/ { s/^#[ ]*//;};p' /etc/sudoers diff --git a/opensuse/leap/15.0/Dockerfile b/opensuse/leap/15.0/Dockerfile deleted file mode 100644 index 4281676..0000000 --- a/opensuse/leap/15.0/Dockerfile +++ /dev/null @@ -1,24 +0,0 @@ -FROM opensuse/leap:15.0 -MAINTAINER Alexander V. Tikhonov - -# Install base toolset -RUN zypper install -y \ - autoconf \ - ccache \ - cmake \ - curl \ - devscripts \ - dnf \ - fakeroot \ - gdb \ - git \ - lsb-release \ - rpm-build \ - sudo \ - tar \ - wget \ - xz \ - yum-utils - -# Enable sudo without password -RUN echo '%users ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers diff --git a/opensuse/leap/15.1/Dockerfile b/opensuse/leap/15.1/Dockerfile deleted file mode 100644 index 0571705..0000000 --- a/opensuse/leap/15.1/Dockerfile +++ /dev/null @@ -1,24 +0,0 @@ -FROM opensuse/leap:15.1 -MAINTAINER Alexander V. Tikhonov - -# Install base toolset -RUN zypper install -y \ - autoconf \ - ccache \ - cmake \ - curl \ - devscripts \ - dnf \ - fakeroot \ - gdb \ - git \ - lsb-release \ - rpm-build \ - sudo \ - tar \ - wget \ - xz \ - yum-utils - -# Enable sudo without password -RUN echo '%users ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers diff --git a/opensuse/leap/15.2/Dockerfile b/opensuse/leap/15.2/Dockerfile deleted file mode 100644 index 823417c..0000000 --- a/opensuse/leap/15.2/Dockerfile +++ /dev/null @@ -1,24 +0,0 @@ -FROM opensuse/leap:15.2 -MAINTAINER Alexander V. Tikhonov - -# Install base toolset -RUN zypper install -y \ - autoconf \ - ccache \ - cmake \ - curl \ - devscripts \ - dnf \ - fakeroot \ - gdb \ - git \ - lsb-release \ - rpm-build \ - sudo \ - tar \ - wget \ - xz \ - yum-utils - -# Enable sudo without password -RUN echo '%users ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers diff --git a/rumprun/hw/Dockerfile b/rumprun/hw/Dockerfile deleted file mode 100644 index 62bf008..0000000 --- a/rumprun/hw/Dockerfile +++ /dev/null @@ -1,65 +0,0 @@ -# Alpine Linux is not supported due to problems with libssp and GCC 6.x. -# Use Debian Jessie for gcc-4.x. -#FROM alpine:3.5 -FROM debian:jessie-slim -MAINTAINER Roman Tsisyk - -#RUN apk add --no-cache \ -# gcc \ -# g++ \ -# make \ -# git \ -# libc-dev \ -# zlib-dev - -# Fix missing locales -ENV LC_ALL="C.UTF-8" LANG="C.UTF-8" - -# Skip interactive post-install scripts -ENV DEBIAN_FRONTEND=noninteractive - -# Install base toolset -RUN apt-get update && apt-get install -y --force-yes --no-install-recommends \ - sudo \ - git \ - gcc \ - g++ \ - make \ - cmake \ - tar \ - xz-utils \ - ccache \ - patch \ - diffutils \ - ca-certificates \ - wget \ - libc6-dev \ - zlib1g-dev \ - && \ - apt-get clean - -# Enable sudo without password -RUN echo '%adm ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers - -WORKDIR /usr/src - -# Compile rumprun toolchain -ADD src-netbsd.patch . -RUN BUILDRUMP_EXTRA="" && \ - git clone https://github.com/rumpkernel/rumprun.git \ - --recursive --depth 1 && \ - cd ./rumprun && \ - cd ./src-netbsd && patch -p1 < ../../src-netbsd.patch && cd .. && \ - ./build-rr.sh -d /usr -o ./obj hw build -- $BUILDRUMP_EXTRA && \ - ./build-rr.sh -d /usr -o ./obj hw install && \ - cd .. && rm -rf ./rumprun - -ENV CBUILDROOT=/usr/rumprun-x86_64 \ - CBUILD=x86_64-linux-gnu \ - CHOST=x86_64-rumprun-netbsd - -# Add patched CMake toolchain configuration -ADD x86_64-rumprun-netbsd-toolchain.cmake ${CBUILDROOT}/share/ -ADD x86_64-rumprun-netbsd-cmake /usr/bin - -WORKDIR / diff --git a/rumprun/hw/src-netbsd.patch b/rumprun/hw/src-netbsd.patch deleted file mode 100644 index c66ec40..0000000 --- a/rumprun/hw/src-netbsd.patch +++ /dev/null @@ -1,40 +0,0 @@ -diff --git a/external/bsd/flex/dist/src/flexdef.h b/external/bsd/flex/dist/src/flexdef.h -index 72f7ab1..aec38c2 100644 ---- a/external/bsd/flex/dist/src/flexdef.h -+++ b/external/bsd/flex/dist/src/flexdef.h -@@ -40,6 +40,13 @@ - #include - #endif - -+#ifndef __BEGIN_DECLS -+#define __BEGIN_DECLS -+#endif -+#ifndef __END_DECLS -+#define __END_DECLS -+#endif -+ - /* AIX requires this to be the first thing in the file. */ - #if !defined(__GNUC__) && !defined(__lint__) - # if HAVE_ALLOCA_H -diff --git a/sys/lib/libunwind/DwarfParser.hpp b/sys/lib/libunwind/DwarfParser.hpp -index 6e8ef2c..8a5ef81 100644 ---- a/sys/lib/libunwind/DwarfParser.hpp -+++ b/sys/lib/libunwind/DwarfParser.hpp -@@ -383,7 +383,7 @@ CFI_Parser::parseInstructions(A &addressSpace, pint_t instructions, - break; - case DW_CFA_remember_state: - // avoid operator new, because that would be an upward dependency -- entry = (PrologInfoStackEntry *)malloc(sizeof(PrologInfoStackEntry)); -+ entry = (PrologInfoStackEntry *)std::malloc(sizeof(PrologInfoStackEntry)); - if (entry == NULL) - return false; - -@@ -398,7 +398,7 @@ CFI_Parser::parseInstructions(A &addressSpace, pint_t instructions, - PrologInfoStackEntry *top = rememberStack; - *results = top->info; - rememberStack = top->next; -- free((char *)top); -+ std::free((char *)top); - } - break; - case DW_CFA_def_cfa: diff --git a/rumprun/hw/x86_64-rumprun-netbsd-cmake b/rumprun/hw/x86_64-rumprun-netbsd-cmake deleted file mode 100755 index 5f5b62d..0000000 --- a/rumprun/hw/x86_64-rumprun-netbsd-cmake +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec /usr/bin/cmake -DCMAKE_TOOLCHAIN_FILE=/usr/rumprun-x86_64/share/x86_64-rumprun-netbsd-toolchain.cmake $@ diff --git a/rumprun/hw/x86_64-rumprun-netbsd-toolchain.cmake b/rumprun/hw/x86_64-rumprun-netbsd-toolchain.cmake deleted file mode 100644 index 669ca69..0000000 --- a/rumprun/hw/x86_64-rumprun-netbsd-toolchain.cmake +++ /dev/null @@ -1,17 +0,0 @@ -# -# CMake toolchain file for cross-compiling to x86_64-rumprun-netbsd -# -# When building software with CMake, specify as -DCMAKE_TOOLCHAIN_FILE=... -# - -set(CMAKE_SYSTEM_NAME NetBSD) -set(CMAKE_SYSTEM_PROCESSOR x86_64) - -set(CMAKE_C_COMPILER /usr/bin/x86_64-rumprun-netbsd-gcc) -set(CMAKE_CXX_COMPILER /usr/bin/x86_64-rumprun-netbsd-g++) - -set(CMAKE_FIND_ROOT_PATH /usr/rumprun-x86_64) -set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) -set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) -set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) -set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY) diff --git a/ubuntu/artful/Dockerfile b/ubuntu/artful/Dockerfile deleted file mode 100644 index d30a4ef..0000000 --- a/ubuntu/artful/Dockerfile +++ /dev/null @@ -1,44 +0,0 @@ -FROM ubuntu:artful -MAINTAINER Roman Tsisyk - -# Fix missing locales -ENV LC_ALL="C.UTF-8" LANG="C.UTF-8" - -# Skip interactive post-install scripts -ENV DEBIAN_FRONTEND=noninteractive - -# Don't install recommends -RUN echo 'apt::install-recommends "false";' > /etc/apt/apt.conf.d/00recommends - -# Enable extra repositories -RUN apt-get update && apt-get install -y --force-yes \ - apt-transport-https \ - curl \ - wget \ - gnupg \ - ca-certificates \ - software-properties-common python-software-properties -#ADD backports.list /etc/apt/sources.list.d/ -#ADD preferences /etc/apt/preferences.d/ -#RUN curl -s https://packagecloud.io/install/repositories/packpack/backports/script.deb.sh | bash - -# Install base toolset -RUN apt-get update && apt-get install -y --force-yes \ - sudo \ - git \ - build-essential \ - cmake \ - gdb \ - ccache \ - devscripts \ - debhelper \ - cdbs \ - fakeroot \ - lintian \ - equivs \ - rpm \ - alien \ - dh-systemd - -# Enable sudo without password -RUN echo '%adm ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers diff --git a/ubuntu/cosmic/Dockerfile b/ubuntu/cosmic/Dockerfile deleted file mode 100644 index 268568e..0000000 --- a/ubuntu/cosmic/Dockerfile +++ /dev/null @@ -1,41 +0,0 @@ -FROM ubuntu:cosmic -MAINTAINER Roman Tsisyk - -# Fix missing locales -ENV LC_ALL="C.UTF-8" LANG="C.UTF-8" - -# Skip interactive post-install scripts -ENV DEBIAN_FRONTEND=noninteractive - -# Don't install recommends -RUN echo 'apt::install-recommends "false";' > /etc/apt/apt.conf.d/00recommends - -# Enable extra repositories -RUN apt-get update && apt-get install -y --force-yes \ - apt-transport-https \ - curl \ - wget \ - gnupg \ - ca-certificates \ - software-properties-common - -# Install base toolset -RUN apt-get update && apt-get install -y --force-yes \ - sudo \ - git \ - build-essential \ - cmake \ - gdb \ - ccache \ - devscripts \ - debhelper \ - cdbs \ - fakeroot \ - lintian \ - equivs \ - rpm \ - alien \ - dh-systemd - -# Enable sudo without password -RUN echo '%adm ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers diff --git a/ubuntu/disco/Dockerfile b/ubuntu/disco/Dockerfile deleted file mode 100644 index 38be652..0000000 --- a/ubuntu/disco/Dockerfile +++ /dev/null @@ -1,41 +0,0 @@ -FROM ubuntu:disco -MAINTAINER Alexey Kopytov - -# Fix missing locales -ENV LC_ALL="C.UTF-8" LANG="C.UTF-8" - -# Skip interactive post-install scripts -ENV DEBIAN_FRONTEND=noninteractive - -# Don't install recommends -RUN echo 'apt::install-recommends "false";' > /etc/apt/apt.conf.d/00recommends - -# Enable extra repositories -RUN apt-get update && apt-get install -y --force-yes \ - apt-transport-https \ - curl \ - wget \ - gnupg \ - ca-certificates \ - software-properties-common - -# Install base toolset -RUN apt-get update && apt-get install -y --force-yes \ - sudo \ - git \ - build-essential \ - cmake \ - gdb \ - ccache \ - devscripts \ - debhelper \ - cdbs \ - fakeroot \ - lintian \ - equivs \ - rpm \ - alien \ - dh-systemd - -# Enable sudo without password -RUN echo '%adm ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers diff --git a/ubuntu/precise/Dockerfile b/ubuntu/precise/Dockerfile deleted file mode 100644 index 6a24f64..0000000 --- a/ubuntu/precise/Dockerfile +++ /dev/null @@ -1,46 +0,0 @@ -FROM ubuntu:precise -MAINTAINER Roman Tsisyk - -# Fix missing locales -ENV LC_ALL="C.UTF-8" LANG="C.UTF-8" - -# Skip interactive post-install scripts -ENV DEBIAN_FRONTEND=noninteractive - -# Don't install recommends -RUN echo 'apt::install-recommends "false";' > /etc/apt/apt.conf.d/00recommends - -# Enable extra repositories -RUN apt-get update && apt-get install -y --force-yes \ - apt-transport-https \ - curl \ - wget \ - gnupg \ - ca-certificates \ - software-properties-common python-software-properties -ADD backports.list /etc/apt/sources.list.d/ -ADD preferences /etc/apt/preferences.d/ -RUN curl -s https://packagecloud.io/install/repositories/computology/apt-backport/script.deb.sh | bash -RUN apt-get install -y --force-yes apt=1.2.10 -RUN apt-add-repository -y ppa:george-edison55/precise-backports -RUN curl -s https://packagecloud.io/install/repositories/packpack/backports/script.deb.sh | bash - -# Install base toolset -RUN apt-get update && apt-get install -y --force-yes \ - sudo \ - git \ - build-essential \ - cmake \ - gdb \ - ccache \ - devscripts \ - debhelper \ - cdbs \ - fakeroot \ - lintian \ - equivs \ - rpm \ - alien - -# Enable sudo without password -RUN echo '%adm ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers diff --git a/ubuntu/precise/backports.list b/ubuntu/precise/backports.list deleted file mode 100644 index 7188274..0000000 --- a/ubuntu/precise/backports.list +++ /dev/null @@ -1,2 +0,0 @@ -deb http://archive.ubuntu.com/ubuntu precise-backports main universe multiverse -deb-src http://archive.ubuntu.com/ubuntu/ precise-backports main universe multiverse diff --git a/ubuntu/precise/preferences b/ubuntu/precise/preferences deleted file mode 100644 index b81e9ee..0000000 --- a/ubuntu/precise/preferences +++ /dev/null @@ -1,3 +0,0 @@ -Package: * -Pin: release a=precise-backports -Pin-Priority: 100 diff --git a/ubuntu/trusty/Dockerfile b/ubuntu/trusty/Dockerfile deleted file mode 100644 index 5479799..0000000 --- a/ubuntu/trusty/Dockerfile +++ /dev/null @@ -1,46 +0,0 @@ -FROM ubuntu:trusty -MAINTAINER Roman Tsisyk - -# Fix missing locales -ENV LC_ALL="C.UTF-8" LANG="C.UTF-8" - -# Skip interactive post-install scripts -ENV DEBIAN_FRONTEND=noninteractive - -# Don't install recommends -RUN echo 'apt::install-recommends "false";' > /etc/apt/apt.conf.d/00recommends - -# Enable extra repositories -RUN apt-get update && apt-get install -y --force-yes \ - apt-transport-https \ - curl \ - wget \ - gnupg \ - ca-certificates \ - software-properties-common python-software-properties -#ADD backports.list /etc/apt/sources.list.d/ -#ADD preferences /etc/apt/preferences.d/ -RUN curl -s https://packagecloud.io/install/repositories/computology/apt-backport/script.deb.sh | bash -RUN apt-get install -y --force-yes apt=1.2.10 -RUN curl -s https://packagecloud.io/install/repositories/packpack/backports/script.deb.sh | bash - -# Install base toolset -RUN apt-get update && apt-get install -y --force-yes \ - sudo \ - git \ - build-essential \ - cmake \ - gdb \ - ccache \ - devscripts \ - debhelper \ - cdbs \ - fakeroot \ - lintian \ - equivs \ - rpm \ - alien \ - dh-systemd - -# Enable sudo without password -RUN echo '%adm ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers From 3485c28f24008414c6630a1a784526c08969045d Mon Sep 17 00:00:00 2001 From: Daniel Black Date: Mon, 11 May 2020 20:47:08 +1000 Subject: [PATCH 2/3] add travis.yml file to build on travis --- .travis.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..503f053 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,24 @@ +language: c +services: docker +os: +- linux +arch: +- s390x +sudo: false + +env: + global: + - DOCKER_REPO=${DOCKER_USERNAME}/packpack + +# DOCKER_USERNAME and DOCKER_PASSWORD need to be secure environment variables either above +# or in the settings within travis. + +script: +- make -j6 BRANCH=${TRAVIS_BRANCH} build +- | + if [[ "$TRAVIS_EVENT_TYPE" != "pull_request" ]]; then + echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin + make -j6 BRANCH=${TRAVIS_BRANCH} push + fi + +# vim:set et ts=2 sw=2: From 7c37e32b1ec8d6ddc0e792b1c4f0ecbd8f6a2d1f Mon Sep 17 00:00:00 2001 From: Daniel Black Date: Mon, 11 May 2020 20:47:33 +1000 Subject: [PATCH 3/3] s390x: add apline-3.11 --- alpine/3.11/Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 alpine/3.11/Dockerfile diff --git a/alpine/3.11/Dockerfile b/alpine/3.11/Dockerfile new file mode 100644 index 0000000..f0b1842 --- /dev/null +++ b/alpine/3.11/Dockerfile @@ -0,0 +1,6 @@ +FROM alpine:3.11 +MAINTAINER Konstantin Nazarov + +RUN set -x \ + && apk add --no-cache su-exec make git tar xz alpine-sdk sudo \ + && sed -i.bak -n -e '/^Defaults.*requiretty/ { s/^/# /;};/^%wheel.*ALL$/ { s/^/# / ;} ;/^#.*wheel.*NOPASSWD/ { s/^#[ ]*//;};p' /etc/sudoers