From 8fe858c5c6b2444028cf13f92cc980d9946a6f0d Mon Sep 17 00:00:00 2001 From: Grant Limberg Date: Tue, 28 Jun 2022 12:32:47 -0700 Subject: [PATCH] remove old unused CI stuff --- Jenkinsfile | 365 ------------------------- dockerbuild/Dockerfile.alpine | 23 -- dockerbuild/Dockerfile.centos6 | 20 -- dockerbuild/Dockerfile.centos6-i386 | 21 -- dockerbuild/Dockerfile.centos7 | 25 -- dockerbuild/Dockerfile.centos7-i386 | 22 -- dockerbuild/Dockerfile.centos8 | 25 -- dockerbuild/Dockerfile.clefos-s390x | 20 -- dockerbuild/Dockerfile.debian-bullseye | 15 - dockerbuild/Dockerfile.debian-buster | 15 - dockerbuild/Dockerfile.debian-jessie | 15 - dockerbuild/Dockerfile.debian-sid | 15 - dockerbuild/Dockerfile.debian-stretch | 15 - dockerbuild/Dockerfile.debian-wheezy | 23 -- dockerbuild/Dockerfile.kali-rolling | 15 - dockerbuild/Dockerfile.ubuntu-bionic | 15 - dockerbuild/Dockerfile.ubuntu-eoan | 15 - dockerbuild/Dockerfile.ubuntu-trusty | 15 - dockerbuild/Dockerfile.ubuntu-xenial | 15 - dockerbuild/Makefile | 108 -------- dockerbuild/authorized_keys | 2 - dockerbuild/pipelint.sh | 13 - 22 files changed, 817 deletions(-) delete mode 100644 Jenkinsfile delete mode 100644 dockerbuild/Dockerfile.alpine delete mode 100644 dockerbuild/Dockerfile.centos6 delete mode 100644 dockerbuild/Dockerfile.centos6-i386 delete mode 100644 dockerbuild/Dockerfile.centos7 delete mode 100644 dockerbuild/Dockerfile.centos7-i386 delete mode 100644 dockerbuild/Dockerfile.centos8 delete mode 100644 dockerbuild/Dockerfile.clefos-s390x delete mode 100644 dockerbuild/Dockerfile.debian-bullseye delete mode 100644 dockerbuild/Dockerfile.debian-buster delete mode 100644 dockerbuild/Dockerfile.debian-jessie delete mode 100644 dockerbuild/Dockerfile.debian-sid delete mode 100644 dockerbuild/Dockerfile.debian-stretch delete mode 100644 dockerbuild/Dockerfile.debian-wheezy delete mode 100644 dockerbuild/Dockerfile.kali-rolling delete mode 100644 dockerbuild/Dockerfile.ubuntu-bionic delete mode 100644 dockerbuild/Dockerfile.ubuntu-eoan delete mode 100644 dockerbuild/Dockerfile.ubuntu-trusty delete mode 100644 dockerbuild/Dockerfile.ubuntu-xenial delete mode 100644 dockerbuild/Makefile delete mode 100644 dockerbuild/authorized_keys delete mode 100644 dockerbuild/pipelint.sh diff --git a/Jenkinsfile b/Jenkinsfile deleted file mode 100644 index 757729e33..000000000 --- a/Jenkinsfile +++ /dev/null @@ -1,365 +0,0 @@ -pipeline { - options { - disableConcurrentBuilds() - preserveStashes(buildCount: 10) - timestamps() - } - parameters { - booleanParam(name: "BUILD_ALL", defaultValue: false, description: "Build all supported platform/architecture combos. Defaults to x86/x64 only") - } - - agent none - - stages { - stage ("Build") { - steps { - script { - def tasks = [:] - tasks << buildStaticBinaries() - tasks << buildDebianNative() - tasks << buildCentosNative() - - parallel tasks - } - } - } - stage ("Package Static") { - steps { - script { - parallel packageStatic() - } - } - } - } -} - -def buildStaticBinaries() { - def tasks = [:] - def dist = ["alpine"] - def archs = [] - if (params.BUILD_ALL == true) { - archs = ["arm64", "amd64", "i386", "armhf", "armel", "ppc64le", "s390x"] - } else { - archs = ["amd64", "i386"] - } - - tasks << getTasks(dist, archs, { distro, platform -> - def myNode = { - node ('linux-build') { - dir ("build") { - checkout scm - } - sh "echo ${distro}-${platform}" - def runtime = docker.image("ztbuild/${distro}-${platform}:latest") - runtime.inside { - dir("build") { - sh 'make -j8 ZT_STATIC=1 all' - sh "file ./zerotier-one" - sh "mv zerotier-one zerotier-one-static-${platform}" - stash includes: 'zerotier-one-static-*', name: "static-${platform}" - } - cleanWs deleteDirs: true, disableDeferredWipeout: true, notFailBuild: true - } - } - } - return myNode - }) - - return tasks -} - -def getTasks(axisDistro, axisPlatform, task) { - def tasks = [:] - for(int i=0; i< axisDistro.size(); i++) { - def axisDistroValue = axisDistro[i] - for(int j=0; j< axisPlatform.size(); j++) { - def axisPlatformValue = axisPlatform[j] - tasks["${axisDistroValue}/${axisPlatformValue}"] = task(axisDistroValue, axisPlatformValue) - } - } - return tasks -} - -def packageStatic() { - def tasks = [:] - - def centos6 = ["centos6"] - def centos6Arch = ["i386", "amd64"] - tasks << getTasks(centos6, centos6Arch, { distro, arch -> - def myNode = { - node ('linux-build') { - dir ("build") { - checkout scm - } - def runtime = docker.image("ztbuild/${distro}-${arch}:latest") - runtime.inside { - dir("build") { - unstash "static-${arch}" - sh "mv zerotier-one-static-${arch} zerotier-one && chmod +x zerotier-one" - sh "make redhat" - sh "mkdir -p ${distro}" - sh "cp -av `find ~/rpmbuild/ -type f -name \"*.rpm\"` ${distro}/" - archiveArtifacts artifacts: "${distro}/*.rpm", onlyIfSuccessful: true - } - } - cleanWs deleteDirs: true, disableDeferredWipeout: true, notFailBuild: true - } - } - return myNode - }) - - def centos7 = ["centos7"] - def centos7Arch = ["i386"] - tasks << getTasks(centos7, centos7Arch, { distro, arch -> - def myNode = { - node ('linux-build') { - dir ("build") { - checkout scm - } - def runtime = docker.image("ztbuild/${distro}-${arch}:latest") - runtime.inside { - dir("build") { - unstash "static-${arch}" - sh "mv zerotier-one-static-${arch} zerotier-one && chmod +x zerotier-one" - sh "make redhat" - sh "mkdir -p ${distro}" - sh "cp -av `find ~/rpmbuild/ -type f -name \"*.rpm\"` ${distro}/" - archiveArtifacts artifacts: "${distro}/*.rpm", onlyIfSuccessful: true - } - } - cleanWs deleteDirs: true, disableDeferredWipeout: true, notFailBuild: true - } - } - return myNode - }) - - if (params.BUILD_ALL == true) { - def clefos7 = ["clefos"] - def clefos7Arch = ["s390x"] - tasks << getTasks(clefos7, clefos7Arch, { distro, arch -> - def myNode = { - node ('linux-build') { - dir ("build") { - checkout scm - } - def runtime = docker.image("ztbuild/${distro}-${arch}:latest") - runtime.inside { - dir("build/") { - unstash "static-${arch}" - sh "mv zerotier-one-static-${arch} zerotier-one && chmod +x zerotier-one" - sh "make redhat" - sh "mkdir -p ${distro}" - sh "cp -av `find ~/rpmbuild/ -type f -name \"*.rpm\"` ${distro}/" - archiveArtifacts artifacts: "${distro}/*.rpm", onlyIfSuccessful: true - } - } - cleanWs deleteDirs: true, disableDeferredWipeout: true, notFailBuild: true - } - } - return myNode - }) - } - - def debianJessie = ["debian-jessie"] - def debianJessieArchs = [] - if (params.BUILD_ALL == true) { - debianJessieArch = ["armhf", "armel", "amd64", "i386"] - } else { - debianJessieArch = ["amd64", "i386"] - } - tasks << getTasks(debianJessie, debianJessieArch, { distro, arch -> - def myNode = { - node ('linux-build') { - dir ("build") { - checkout scm - } - def runtime = docker.image("ztbuild/${distro}-${arch}:latest") - runtime.inside { - sh "ls -la ." - dir('build/') { - sh "ls -la ." - unstash "static-${arch}" - sh "pwd" - sh "mv zerotier-one-static-${arch} zerotier-one && chmod +x zerotier-one && file ./zerotier-one" - sh "mv -f debian/rules.static debian/rules" - sh "make debian" - } - sh "mkdir -p ${distro}" - sh "mv *.deb ${distro}" - archiveArtifacts artifacts: "${distro}/*.deb", onlyIfSuccessful: true - } - cleanWs deleteDirs: true, disableDeferredWipeout: true, notFailBuild: true - } - } - return myNode - }) - - def ubuntuTrusty = ["ubuntu-trusty"] - def ubuntuTrustyArch = [] - if (params.BUILD_ALL == true) { - ubuntuTrustyArch = ["i386", "amd64", "armhf", "arm64", "ppc64le"] - } else { - ubuntuTrustyArch = ["i386", "amd64"] - } - tasks << getTasks(ubuntuTrusty, ubuntuTrustyArch, { distro, arch -> - def myNode = { - node ('linux-build') { - dir ("build") { - checkout scm - } - def runtime = docker.image("ztbuild/${distro}-${arch}:latest") - runtime.inside { - sh "ls -la ." - dir('build/') { - sh "ls -la ." - unstash "static-${arch}" - sh "pwd" - sh "mv zerotier-one-static-${arch} zerotier-one && chmod +x zerotier-one && file ./zerotier-one" - sh "mv -f debian/rules.static debian/rules" - sh "make debian" - } - sh "mkdir -p ${distro}" - sh "mv *.deb ${distro}" - archiveArtifacts artifacts: "${distro}/*.deb", onlyIfSuccessful: true - } - cleanWs deleteDirs: true, disableDeferredWipeout: true, notFailBuild: true - } - } - return myNode - }) - - def debianWheezy = ["debian-wheezy"] - def debianWheezyArchs = [] - if (params.BUILD_ALL == true) { - debianWheezyArchs = ["armhf", "armel", "amd64", "i386"] - } else { - debianWheezyArchs = ["amd64", "i386"] - } - tasks << getTasks(debianJessie, debianJessieArch, { distro, arch -> - def myNode = { - node ('linux-build') { - dir ("build") { - checkout scm - } - def runtime = docker.image("ztbuild/${distro}-${arch}:latest") - runtime.inside { - dir('build/') { - unstash "static-${arch}" - sh "mv zerotier-one-static-${arch} zerotier-one && chmod +x zerotier-one && file ./zerotier-one" - sh "mv -f debian/rules.wheezy.static debian/rules" - sh "mv -f debian/control.wheezy debian/control" - sh "make debian" - } - sh "mkdir -p ${distro}" - sh "mv *.deb ${distro}" - archiveArtifacts artifacts: "${distro}/*.deb", onlyIfSuccessful: true - } - cleanWs deleteDirs: true, disableDeferredWipeout: true, notFailBuild: true - } - } - return myNode - }) - - return tasks -} - -def buildDebianNative() { - def tasks = [:] - def buster = ["debian-buster", "debian-stretch", "debian-bullseye", "debian-sid"] - def busterArchs = [] - if (params.BUILD_ALL) { - busterArchs = ["s390x", "ppc64le", "i386", "armhf", "armel", "arm64", "amd64"] - } else { - busterArchs = ["amd64", "i386"] - } - - def build = { distro, arch -> - def myNode = { - node ('linux-build') { - dir ("build") { - checkout scm - } - def runtime = docker.image("ztbuild/${distro}-${arch}:latest") - runtime.inside { - dir("build") { - sh 'make debian' - } - sh "mkdir -p ${distro}" - sh "mv *.deb ${distro}" - archiveArtifacts artifacts: "${distro}/*.deb", onlyIfSuccessful: true - cleanWs deleteDirs: true, disableDeferredWipeout: true, notFailBuild: true - } - } - } - return myNode - } - - tasks << getTasks(buster, busterArchs, build) - - // bash is broken when running under QEMU-s390x on Xenial - def xenial = ["ubuntu-xenial"] - def xenialArchs = [] - if (params.BUILD_ALL == true) { - xenialArchs = ["i386", "amd64", "armhf", "arm64", "ppc64le"] - } else { - xenialArchs = ["i386", "amd64"] - } - tasks << getTasks(xenial, xenialArchs, build) - - def ubuntu = ["ubuntu-bionic", "ubuntu-eoan"] - def ubuntuArchs = [] - if (params.BUILD_ALL == true) { - ubuntuArchs = ["i386", "amd64", "armhf", "arm64", "ppc64le", "s390x"] - } else { - ubuntuArchs = ["i386", "amd64"] - } - tasks << getTasks(ubuntu, ubuntuArchs, build) - - def kali = ["kali-rolling"] - def kaliArchs = ["amd64"] - tasks << getTasks(kali, kaliArchs, build) - - return tasks -} - -def buildCentosNative() { - def tasks = [:] - - def build = { distro, arch -> - def myNode = { - node ('linux-build') { - dir ("build") { - checkout scm - } - def runtime = docker.image("ztbuild/${distro}-${arch}:latest") - runtime.inside { - dir("build") { - sh 'make -j4' - sh 'make redhat' - sh "mkdir -p ${distro}" - sh "cp -av `find ~/rpmbuild/ -type f -name \"*.rpm\"` ${distro}/" - archiveArtifacts artifacts: "${distro}/*.rpm", onlyIfSuccessful: true - } - - cleanWs deleteDirs: true, disableDeferredWipeout: true, notFailBuild: true - } - } - } - return myNode - } - - def centos8 = ["centos8"] - def centos8Archs = [] - if (params.BUILD_ALL == true) { - centos8Archs = ["amd64", "arm64", "ppc64le"] - } else { - centos8Archs = ["amd64"] - } - tasks << getTasks(centos8, centos8Archs, build) - - def centos7 = ["centos7"] - def centos7Archs = ["amd64"] - tasks << getTasks(centos7, centos7Archs, build) - - return tasks -} diff --git a/dockerbuild/Dockerfile.alpine b/dockerbuild/Dockerfile.alpine deleted file mode 100644 index 04c298d15..000000000 --- a/dockerbuild/Dockerfile.alpine +++ /dev/null @@ -1,23 +0,0 @@ -FROM alpine:3.15 - -ARG go_pkg_url - -RUN apk add --update alpine-sdk linux-headers cmake openssh curl - - -RUN adduser -D -s /bin/ash jenkins && \ - passwd -u jenkins && \ - ssh-keygen -A && \ - mkdir /home/jenkins/.ssh && \ - chown -R jenkins:jenkins /home/jenkins - -RUN curl -s $go_pkg_url -o go.tar.gz && \ - tar -C /usr/local -xzf go.tar.gz - -COPY authorized_keys /home/jenkins/.ssh/authorized_keys -RUN chown -R jenkins:jenkins /home/jenkins/.ssh && \ - chmod 600 /home/jenkins/.ssh/authorized_keys - -EXPOSE 22 -CMD ["/usr/sbin/sshd", "-D"] - diff --git a/dockerbuild/Dockerfile.centos6 b/dockerbuild/Dockerfile.centos6 deleted file mode 100644 index 6b8f023ed..000000000 --- a/dockerbuild/Dockerfile.centos6 +++ /dev/null @@ -1,20 +0,0 @@ -FROM centos:6 - -ARG go_pkg_url - -RUN yum update -y -RUN yum install -y curl git wget openssh-server sudo make rpmdevtools && yum clean all - -RUN curl -s $go_pkg_url -o go.tar.gz && \ - tar -C /usr/local -xzf go.tar.gz && \ - rm go.tar.gz - -RUN groupadd -g 1000 jenkins-build && useradd -u 1000 -g 1000 jenkins-build - -RUN echo $'\n\ - export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin\n'\ - >> ~/.bash_profile - -RUN mkdir /rpmbuild && chmod 777 /rpmbuild - -CMD ["/usr/sbin/sshd", "-D"] diff --git a/dockerbuild/Dockerfile.centos6-i386 b/dockerbuild/Dockerfile.centos6-i386 deleted file mode 100644 index c6a47072b..000000000 --- a/dockerbuild/Dockerfile.centos6-i386 +++ /dev/null @@ -1,21 +0,0 @@ -FROM i386/centos:6 - -ARG go_pkg_url - -RUN echo i386 > /etc/yum/vars/basearch && echo i686 > /etc/yum/vars/arch - -RUN yum install -y curl git wget openssh-server sudo make rpmdevtools && yum clean all - -RUN curl -s $go_pkg_url -o go.tar.gz && \ - tar -C /usr/local -xzf go.tar.gz && \ - rm go.tar.gz - -RUN groupadd -g 1000 jenkins-build && useradd -u 1000 -g 1000 jenkins-build - -RUN echo $'\n\ - export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin\n'\ - >> ~/.bash_profile - -RUN mkdir /rpmbuild && chmod 777 /rpmbuild - -CMD ["/usr/sbin/sshd", "-D"] diff --git a/dockerbuild/Dockerfile.centos7 b/dockerbuild/Dockerfile.centos7 deleted file mode 100644 index 751d02c0c..000000000 --- a/dockerbuild/Dockerfile.centos7 +++ /dev/null @@ -1,25 +0,0 @@ -FROM centos:7 - -ARG go_pkg_url - -RUN yum install -y epel-release -RUN yum install -y curl git wget openssh-server sudo make development-tools rpmdevtools clang gcc-c++ ruby ruby-devel centos-release-scl devtoolset-8 llvm-toolset-7 && yum clean all - -RUN curl -s $go_pkg_url -o go.tar.gz && \ - tar -C /usr/local -xzf go.tar.gz && \ - rm go.tar.gz - -RUN wget -qO- "https://cmake.org/files/v3.15/cmake-3.15.1-Linux-x86_64.tar.gz" | tar --strip-components=1 -xz -C /usr/local - -RUN /usr/bin/ssh-keygen -A -RUN useradd jenkins-build - -RUN echo $'\n\ - export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin\n\ - source scl_source enable devtoolset-8 llvm-toolset-7\n'\ - >> ~/.bash_profile - -RUN mkdir /rpmbuild && chmod 777 /rpmbuild - -CMD ["/usr/sbin/sshd", "-D"] - diff --git a/dockerbuild/Dockerfile.centos7-i386 b/dockerbuild/Dockerfile.centos7-i386 deleted file mode 100644 index f7ee9a0c4..000000000 --- a/dockerbuild/Dockerfile.centos7-i386 +++ /dev/null @@ -1,22 +0,0 @@ -FROM centos:7 - -ARG go_pkg_url - -RUN yum install -y curl git wget openssh-server sudo make development-tools rpmdevtools clang gcc-c++ ruby ruby-devel && yum clean all - -RUN curl -s $go_pkg_url -o go.tar.gz && \ - tar -C /usr/local -xzf go.tar.gz && \ - rm go.tar.gz - -RUN /usr/bin/ssh-keygen -A - -RUN useradd jenkins-build - -RUN echo $'\n\ - export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin\n'\ - >> ~/.bash_profile - -RUN mkdir /rpmbuild && chmod 777 /rpmbuild - -CMD ["/usr/sbin/sshd", "-D"] - diff --git a/dockerbuild/Dockerfile.centos8 b/dockerbuild/Dockerfile.centos8 deleted file mode 100644 index 106ab5b44..000000000 --- a/dockerbuild/Dockerfile.centos8 +++ /dev/null @@ -1,25 +0,0 @@ -FROM centos:8 - -ARG go_pkg_url - -RUN yum install -y epel-release -RUN yum install -y curl git wget openssh-server sudo make rpmdevtools clang gcc-c++ ruby ruby-devel && yum clean all - -RUN curl -s $go_pkg_url -o go.tar.gz && \ - tar -C /usr/local -xzf go.tar.gz && \ - rm go.tar.gz - -RUN wget -qO- "https://cmake.org/files/v3.15/cmake-3.15.1-Linux-x86_64.tar.gz" | tar --strip-components=1 -xz -C /usr/local - -RUN /usr/bin/ssh-keygen -A -RUN useradd jenkins-build - -RUN echo $'\n\ - export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin\n\ - source scl_source enable devtoolset-8 llvm-toolset-7\n'\ - >> ~/.bash_profile - -RUN mkdir /rpmbuild && chmod 777 /rpmbuild - -CMD ["/usr/sbin/sshd", "-D"] - diff --git a/dockerbuild/Dockerfile.clefos-s390x b/dockerbuild/Dockerfile.clefos-s390x deleted file mode 100644 index 135f70abc..000000000 --- a/dockerbuild/Dockerfile.clefos-s390x +++ /dev/null @@ -1,20 +0,0 @@ -FROM s390x/clefos:7 - -ARG go_pkg_url - -RUN yum install -y curl git wget openssh-server sudo make development-tools rpmdevtools clang gcc-c++ ruby ruby-devel && yum clean all - -RUN curl -s $go_pkg_url -o go.tar.gz && \ - tar -C /usr/local -xzf go.tar.gz && \ - rm go.tar.gz - -RUN /usr/bin/ssh-keygen -A - -RUN echo $'\n\ - export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin\n'\ - >> ~/.bash_profile - -RUN mkdir /rpmbuild && chmod 777 /rpmbuild - -CMD ["/usr/sbin/sshd", "-D"] - diff --git a/dockerbuild/Dockerfile.debian-bullseye b/dockerbuild/Dockerfile.debian-bullseye deleted file mode 100644 index 518a08ae2..000000000 --- a/dockerbuild/Dockerfile.debian-bullseye +++ /dev/null @@ -1,15 +0,0 @@ -FROM debian:bullseye-20191224 - -ARG go_pkg_url - -RUN apt-get update && apt-get upgrade -y && apt-get -y install build-essential curl ca-certificates devscripts dh-systemd - -RUN curl -s -k $go_pkg_url -o go.tar.gz && \ - tar -C /usr/local -xzf go.tar.gz && \ - rm go.tar.gz - -RUN groupadd -g 1000 jenkins-build && useradd -u 1000 -g 1000 jenkins-build -RUN chmod 777 /home - -CMD ["/usr/bin/sshd", "-D"] - diff --git a/dockerbuild/Dockerfile.debian-buster b/dockerbuild/Dockerfile.debian-buster deleted file mode 100644 index 6504178bc..000000000 --- a/dockerbuild/Dockerfile.debian-buster +++ /dev/null @@ -1,15 +0,0 @@ -FROM debian:buster-20191224 - -ARG go_pkg_url - -RUN apt-get update && apt-get -y install build-essential curl ca-certificates devscripts dh-systemd - -RUN curl -s -k $go_pkg_url -o go.tar.gz && \ - tar -C /usr/local -xzf go.tar.gz && \ - rm go.tar.gz - -RUN groupadd -g 1000 jenkins-build && useradd -u 1000 -g 1000 jenkins-build -RUN chmod 777 /home - -CMD ["/usr/bin/sshd", "-D"] - diff --git a/dockerbuild/Dockerfile.debian-jessie b/dockerbuild/Dockerfile.debian-jessie deleted file mode 100644 index 31b0a904b..000000000 --- a/dockerbuild/Dockerfile.debian-jessie +++ /dev/null @@ -1,15 +0,0 @@ -FROM debian:jessie-20191224 - -ARG go_pkg_url - -RUN apt-get update && apt-get -y install build-essential curl ca-certificates devscripts dh-systemd - -RUN curl -s -k $go_pkg_url -o go.tar.gz && \ - tar -C /usr/local -xzf go.tar.gz && \ - rm go.tar.gz - -RUN groupadd -g 1000 jenkins-build && useradd -u 1000 -g 1000 jenkins-build -RUN chmod 777 /home - -CMD ["/usr/bin/sshd", "-D"] - diff --git a/dockerbuild/Dockerfile.debian-sid b/dockerbuild/Dockerfile.debian-sid deleted file mode 100644 index 5fde10d5d..000000000 --- a/dockerbuild/Dockerfile.debian-sid +++ /dev/null @@ -1,15 +0,0 @@ -FROM debian:sid-20191224 - -ARG go_pkg_url - -RUN apt-get update && apt-get upgrade -y && apt-get -y install build-essential curl ca-certificates devscripts dh-systemd - -RUN curl -s -k $go_pkg_url -o go.tar.gz && \ - tar -C /usr/local -xzf go.tar.gz && \ - rm go.tar.gz - -RUN groupadd -g 1000 jenkins-build && useradd -u 1000 -g 1000 jenkins-build -RUN chmod 777 /home - -CMD ["/usr/bin/sshd", "-D"] - diff --git a/dockerbuild/Dockerfile.debian-stretch b/dockerbuild/Dockerfile.debian-stretch deleted file mode 100644 index 76342fb8d..000000000 --- a/dockerbuild/Dockerfile.debian-stretch +++ /dev/null @@ -1,15 +0,0 @@ -FROM debian:stretch-20191224 - -ARG go_pkg_url - -RUN apt-get update && apt-get -y install build-essential curl ca-certificates devscripts dh-systemd - -RUN curl -s -k $go_pkg_url -o go.tar.gz && \ - tar -C /usr/local -xzf go.tar.gz && \ - rm go.tar.gz - -RUN groupadd -g 1000 jenkins-build && useradd -u 1000 -g 1000 jenkins-build -RUN chmod 777 /home - -CMD ["/usr/bin/sshd", "-D"] - diff --git a/dockerbuild/Dockerfile.debian-wheezy b/dockerbuild/Dockerfile.debian-wheezy deleted file mode 100644 index 7322959e6..000000000 --- a/dockerbuild/Dockerfile.debian-wheezy +++ /dev/null @@ -1,23 +0,0 @@ -FROM debian:wheezy-20190228 - -ARG go_pkg_url - -RUN echo "deb http://archive.debian.org/debian/ wheezy contrib main non-free" > /etc/apt/sources.list && \ - echo "deb-src http://archive.debian.org/debian/ wheezy contrib main non-free" >> /etc/apt/sources.list && \ - apt-get update && apt-get install -y apt-utils && \ - apt-get install -y --force-yes \ - curl gcc make sudo expect gnupg fakeroot perl-base=5.14.2-21+deb7u3 perl \ - libc-bin=2.13-38+deb7u10 libc6=2.13-38+deb7u10 libc6-dev build-essential \ - cdbs devscripts equivs automake autoconf libtool libaudit-dev selinux-basics \ - libdb5.1=5.1.29-5 libdb5.1-dev libssl1.0.0=1.0.1e-2+deb7u20 procps gawk libsigsegv2 \ - curl ca-certificates devscripts - -RUN curl -s -k $go_pkg_url -o go.tar.gz && \ - tar -C /usr/local -xzf go.tar.gz && \ - rm go.tar.gz - -RUN groupadd -g 1000 jenkins-build && useradd -u 1000 -g 1000 jenkins-build -RUN chmod 777 /home - -CMD ["/usr/bin/sshd", "-D"] - diff --git a/dockerbuild/Dockerfile.kali-rolling b/dockerbuild/Dockerfile.kali-rolling deleted file mode 100644 index 2825dffe4..000000000 --- a/dockerbuild/Dockerfile.kali-rolling +++ /dev/null @@ -1,15 +0,0 @@ -FROM kalilinux/kali-rolling:latest - -ARG go_pkg_url - -RUN apt-get update && apt-get upgrade -y && apt-get -y install build-essential curl ca-certificates devscripts dh-systemd cmake - -RUN curl -s -k $go_pkg_url -o go.tar.gz && \ - tar -C /usr/local -xzf go.tar.gz && \ - rm go.tar.gz - -RUN groupadd -g 1000 jenkins-build && useradd -u 1000 -g 1000 jenkins-build -RUN chmod 777 /home - -CMD ["/usr/bin/sshd", "-D"] - diff --git a/dockerbuild/Dockerfile.ubuntu-bionic b/dockerbuild/Dockerfile.ubuntu-bionic deleted file mode 100644 index 2bbc5b02e..000000000 --- a/dockerbuild/Dockerfile.ubuntu-bionic +++ /dev/null @@ -1,15 +0,0 @@ -FROM ubuntu:bionic-20200112 - -ARG go_pkg_url - -RUN apt-get update && apt-get upgrade -y && apt-get -y install build-essential curl ca-certificates devscripts dh-systemd - -RUN curl -s -k $go_pkg_url -o go.tar.gz && \ - tar -C /usr/local -xzf go.tar.gz && \ - rm go.tar.gz - -RUN groupadd -g 1000 jenkins-build && useradd -u 1000 -g 1000 jenkins-build -RUN chmod 777 /home - -CMD ["/usr/bin/sshd", "-D"] - diff --git a/dockerbuild/Dockerfile.ubuntu-eoan b/dockerbuild/Dockerfile.ubuntu-eoan deleted file mode 100644 index 0fd5e33ca..000000000 --- a/dockerbuild/Dockerfile.ubuntu-eoan +++ /dev/null @@ -1,15 +0,0 @@ -FROM ubuntu:eoan-20200114 - -ARG go_pkg_url - -RUN apt-get update && apt-get upgrade -y && apt-get -y install build-essential curl ca-certificates devscripts dh-systemd - -RUN curl -s -k $go_pkg_url -o go.tar.gz && \ - tar -C /usr/local -xzf go.tar.gz && \ - rm go.tar.gz - -RUN groupadd -g 1000 jenkins-build && useradd -u 1000 -g 1000 jenkins-build -RUN chmod 777 /home - -CMD ["/usr/bin/sshd", "-D"] - diff --git a/dockerbuild/Dockerfile.ubuntu-trusty b/dockerbuild/Dockerfile.ubuntu-trusty deleted file mode 100644 index 52a80c949..000000000 --- a/dockerbuild/Dockerfile.ubuntu-trusty +++ /dev/null @@ -1,15 +0,0 @@ -FROM ubuntu:trusty-20191217 - -ARG go_pkg_url - -RUN apt-get update && apt-get upgrade -y && apt-get -y install build-essential curl ca-certificates devscripts dh-systemd - -RUN curl -s -k $go_pkg_url -o go.tar.gz && \ - tar -C /usr/local -xzf go.tar.gz && \ - rm go.tar.gz - -RUN groupadd -g 1000 jenkins-build && useradd -u 1000 -g 1000 jenkins-build -RUN chmod 777 /home - -CMD ["/usr/bin/sshd", "-D"] - diff --git a/dockerbuild/Dockerfile.ubuntu-xenial b/dockerbuild/Dockerfile.ubuntu-xenial deleted file mode 100644 index bda74f477..000000000 --- a/dockerbuild/Dockerfile.ubuntu-xenial +++ /dev/null @@ -1,15 +0,0 @@ -FROM ubuntu:xenial-20200114 - -ARG go_pkg_url - -RUN apt-get update && apt-get -y install build-essential curl ca-certificates devscripts dh-systemd - -RUN curl -s -k $go_pkg_url -o go.tar.gz && \ - tar -C /usr/local -xzf go.tar.gz && \ - rm go.tar.gz - -RUN groupadd -g 1000 jenkins-build && useradd -u 1000 -g 1000 jenkins-build -RUN chmod 777 /home - -CMD ["/usr/bin/sshd", "-D"] - diff --git a/dockerbuild/Makefile b/dockerbuild/Makefile deleted file mode 100644 index 543d45d5a..000000000 --- a/dockerbuild/Makefile +++ /dev/null @@ -1,108 +0,0 @@ -.PHONY: all - -all: alpine centos debian ubuntu kali-rolling - -alpine: - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-arm64.tar.gz" --platform linux/arm64 -f Dockerfile.alpine . -t ztbuild/alpine-arm64 --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-386.tar.gz" --platform linux/386 -f Dockerfile.alpine . -t ztbuild/alpine-i386 --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-amd64.tar.gz" --platform linux/amd64 -f Dockerfile.alpine . -t ztbuild/alpine-amd64 --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-armv6l.tar.gz" --platform linux/arm/v6 -f Dockerfile.alpine . -t ztbuild/alpine-armel --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-armv6l.tar.gz" --platform linux/arm/v7 -f Dockerfile.alpine . -t ztbuild/alpine-armhf --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-ppc64le.tar.gz" --platform linux/ppc64le -f Dockerfile.alpine . -t ztbuild/alpine-ppc64le --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-s390x.tar.gz" --platform linux/s390x -f Dockerfile.alpine . -t ztbuild/alpine-s390x --load - -centos: - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-amd64.tar.gz" --platform linux/amd64 -f Dockerfile.centos7 . -t ztbuild/centos7-amd64 --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-386.tar.gz" --platform linux/386 -f Dockerfile.centos7-i386 . -t ztbuild/centos7-i386 --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-amd64.tar.gz" --platform linux/amd64 -f Dockerfile.centos6 . -t ztbuild/centos6-amd64 --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-386.tar.gz" --platform linux/386 -f Dockerfile.centos6-i386 . -t ztbuild/centos6-i386 --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-amd64.tar.gz" --platform linux/amd64 -f Dockerfile.centos8 . -t ztbuild/centos8-amd64 --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-arm64.tar.gz" --platform linux/arm64 -f Dockerfile.centos8 . -t ztbuild/centos8-arm64 --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-ppc64le.tar.gz" --platform linux/ppc64le -f Dockerfile.centos8 . -t ztbuild/centos8-ppc64le --load - -debian: debian-wheezy debian-jessie debian-buster debian-stretch debian-bullseye debian-sid - -debian-wheezy: - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-amd64.tar.gz" --platform linux/amd64 -f Dockerfile.debian-wheezy . -t ztbuild/debian-wheezy-amd64 --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-armv6l.tar.gz" --platform linux/arm/v7 -f Dockerfile.debian-wheezy . -t ztbuild/debian-wheezy-armhf --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-armv6l.tar.gz" --platform linux/arm/v6 -f Dockerfile.debian-wheezy . -t ztbuild/debian-wheezy-armel --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-386.tar.gz" --platform linux/386 -f Dockerfile.debian-wheezy . -t ztbuild/debian-wheezy-i386 --load - -debian-jessie: - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-amd64.tar.gz" --platform linux/amd64 -f Dockerfile.debian-jessie . -t ztbuild/debian-jessie-amd64 --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-armv6l.tar.gz" --platform linux/arm/v7 -f Dockerfile.debian-jessie . -t ztbuild/debian-jessie-armhf --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-armv6l.tar.gz" --platform linux/arm/v6 -f Dockerfile.debian-jessie . -t ztbuild/debian-jessie-armel --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-386.tar.gz" --platform linux/386 -f Dockerfile.debian-jessie . -t ztbuild/debian-jessie-i386 --load - -debian-buster: - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-amd64.tar.gz" --platform linux/amd64 -f Dockerfile.debian-buster . -t ztbuild/debian-buster-amd64 --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-arm64.tar.gz" --platform linux/arm64 -f Dockerfile.debian-buster . -t ztbuild/debian-buster-arm64 --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-armv6l.tar.gz" --platform linux/arm/v6 -f Dockerfile.debian-buster . -t ztbuild/debian-buster-armel --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-armv6l.tar.gz" --platform linux/arm/v7 -f Dockerfile.debian-buster . -t ztbuild/debian-buster-armhf --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-386.tar.gz" --platform linux/386 -f Dockerfile.debian-buster . -t ztbuild/debian-buster-i386 --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-ppc64le.tar.gz" --platform linux/ppc64le -f Dockerfile.debian-buster . -t ztbuild/debian-buster-ppc64le --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-s390x.tar.gz" --platform linux/s390x -f Dockerfile.debian-buster . -t ztbuild/debian-buster-s390x --load - -debian-stretch: - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-amd64.tar.gz" --platform linux/amd64 -f Dockerfile.debian-stretch . -t ztbuild/debian-stretch-amd64 --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-arm64.tar.gz" --platform linux/arm64 -f Dockerfile.debian-stretch . -t ztbuild/debian-stretch-arm64 --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-armv6l.tar.gz" --platform linux/arm/v6 -f Dockerfile.debian-stretch . -t ztbuild/debian-stretch-armel --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-armv6l.tar.gz" --platform linux/arm/v7 -f Dockerfile.debian-stretch . -t ztbuild/debian-stretch-armhf --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-386.tar.gz" --platform linux/386 -f Dockerfile.debian-stretch . -t ztbuild/debian-stretch-i386 --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-ppc64le.tar.gz" --platform linux/ppc64le -f Dockerfile.debian-stretch . -t ztbuild/debian-stretch-ppc64le --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-s390x.tar.gz" --platform linux/s390x -f Dockerfile.debian-stretch . -t ztbuild/debian-stretch-s390x --load - -debian-bullseye: - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-amd64.tar.gz" --platform linux/amd64 -f Dockerfile.debian-bullseye . -t ztbuild/debian-bullseye-amd64 --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-arm64.tar.gz" --platform linux/arm64 -f Dockerfile.debian-bullseye . -t ztbuild/debian-bullseye-arm64 --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-armv6l.tar.gz" --platform linux/arm/v6 -f Dockerfile.debian-bullseye . -t ztbuild/debian-bullseye-armel --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-armv6l.tar.gz" --platform linux/arm/v7 -f Dockerfile.debian-bullseye . -t ztbuild/debian-bullseye-armhf --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-386.tar.gz" --platform linux/386 -f Dockerfile.debian-bullseye . -t ztbuild/debian-bullseye-i386 --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-ppc64le.tar.gz" --platform linux/ppc64le -f Dockerfile.debian-bullseye . -t ztbuild/debian-bullseye-ppc64le --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-s390x.tar.gz" --platform linux/s390x -f Dockerfile.debian-bullseye . -t ztbuild/debian-bullseye-s390x --load - -debian-sid: - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-amd64.tar.gz" --platform linux/amd64 -f Dockerfile.debian-sid . -t ztbuild/debian-sid-amd64 --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-arm64.tar.gz" --platform linux/arm64 -f Dockerfile.debian-sid . -t ztbuild/debian-sid-arm64 --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-armv6l.tar.gz" --platform linux/arm/v6 -f Dockerfile.debian-sid . -t ztbuild/debian-sid-armel --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-armv6l.tar.gz" --platform linux/arm/v7 -f Dockerfile.debian-sid . -t ztbuild/debian-sid-armhf --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-386.tar.gz" --platform linux/386 -f Dockerfile.debian-sid . -t ztbuild/debian-sid-i386 --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-ppc64le.tar.gz" --platform linux/ppc64le -f Dockerfile.debian-sid . -t ztbuild/debian-sid-ppc64le --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-s390x.tar.gz" --platform linux/s390x -f Dockerfile.debian-sid . -t ztbuild/debian-sid-s390x --load - -ubuntu: ubuntu-trusty ubuntu-xenial ubuntu-bionic ubuntu-eoan - -ubuntu-trusty: - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-amd64.tar.gz" --platform linux/amd64 -f Dockerfile.ubuntu-trusty . -t ztbuild/ubuntu-trusty-amd64 --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-arm64.tar.gz" --platform linux/arm64 -f Dockerfile.ubuntu-trusty . -t ztbuild/ubuntu-trusty-arm64 --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-armv6l.tar.gz" --platform linux/arm/v7 -f Dockerfile.ubuntu-trusty . -t ztbuild/ubuntu-trusty-armhf --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-386.tar.gz" --platform linux/386 -f Dockerfile.ubuntu-trusty . -t ztbuild/ubuntu-trusty-i386 --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-ppc64le.tar.gz" --platform linux/ppc64le -f Dockerfile.ubuntu-trusty . -t ztbuild/ubuntu-trusty-ppc64le --load - -ubuntu-xenial: - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-amd64.tar.gz" --platform linux/amd64 -f Dockerfile.ubuntu-xenial . -t ztbuild/ubuntu-xenial-amd64 --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-arm64.tar.gz" --platform linux/arm64 -f Dockerfile.ubuntu-xenial . -t ztbuild/ubuntu-xenial-arm64 --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-armv6l.tar.gz" --platform linux/arm/v7 -f Dockerfile.ubuntu-xenial . -t ztbuild/ubuntu-xenial-armhf --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-386.tar.gz" --platform linux/386 -f Dockerfile.ubuntu-xenial . -t ztbuild/ubuntu-xenial-i386 --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-ppc64le.tar.gz" --platform linux/ppc64le -f Dockerfile.ubuntu-xenial . -t ztbuild/ubuntu-xenial-ppc64le --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-s390x.tar.gz" --platform linux/s390x -f Dockerfile.ubuntu-xenial . -t ztbuild/ubuntu-xenial-s390x --load - -ubuntu-bionic: - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-amd64.tar.gz" --platform linux/amd64 -f Dockerfile.ubuntu-bionic . -t ztbuild/ubuntu-bionic-amd64 --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-arm64.tar.gz" --platform linux/arm64 -f Dockerfile.ubuntu-bionic . -t ztbuild/ubuntu-bionic-arm64 --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-armv6l.tar.gz" --platform linux/arm/v7 -f Dockerfile.ubuntu-bionic . -t ztbuild/ubuntu-bionic-armhf --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-386.tar.gz" --platform linux/386 -f Dockerfile.ubuntu-bionic . -t ztbuild/ubuntu-bionic-i386 --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-ppc64le.tar.gz" --platform linux/ppc64le -f Dockerfile.ubuntu-bionic . -t ztbuild/ubuntu-bionic-ppc64le --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-s390x.tar.gz" --platform linux/s390x -f Dockerfile.ubuntu-bionic . -t ztbuild/ubuntu-bionic-s390x --load - -ubuntu-eoan: - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-amd64.tar.gz" --platform linux/amd64 -f Dockerfile.ubuntu-eoan . -t ztbuild/ubuntu-eoan-amd64 --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-arm64.tar.gz" --platform linux/arm64 -f Dockerfile.ubuntu-eoan . -t ztbuild/ubuntu-eoan-arm64 --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-armv6l.tar.gz" --platform linux/arm/v7 -f Dockerfile.ubuntu-eoan . -t ztbuild/ubuntu-eoan-armhf --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-386.tar.gz" --platform linux/386 -f Dockerfile.ubuntu-eoan . -t ztbuild/ubuntu-eoan-i386 --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-ppc64le.tar.gz" --platform linux/ppc64le -f Dockerfile.ubuntu-eoan . -t ztbuild/ubuntu-eoan-ppc64le --load - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-s390x.tar.gz" --platform linux/s390x -f Dockerfile.ubuntu-eoan . -t ztbuild/ubuntu-eoan-s390x --load - -kali-rolling: - @docker buildx build --build-arg go_pkg_url="https://dl.google.com/go/go1.13.6.linux-amd64.tar.gz" --platform linux/amd64 -f Dockerfile.kali-rolling . -t ztbuild/kali-rolling-amd64 --load - diff --git a/dockerbuild/authorized_keys b/dockerbuild/authorized_keys deleted file mode 100644 index 0dd35c7b7..000000000 --- a/dockerbuild/authorized_keys +++ /dev/null @@ -1,2 +0,0 @@ -ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8hgysbj2Luu3aN/Ya2wr4Y9LpUGqWWfn3k+UhIwOIE/Kd7/YpLjxHpseUA1hLnj9kHFShH8eiqoY0S6EDIYrTUwbXMMu8454lX/LcJOCJ9RlSeMMf7vpkxcI7cVRgOA430a3FR7M0Q8vKlyJzxxAEjMIxMyuVyinknfanNt+sQFiDUvOXoacqgZAHBWMlO7wOPyHWHNOzy7g8N0dHiJveKZqX/UUwuqJuS6UBq7MBMSU6TcMvJwHr+AbNvfyIUWCqlTByqFL9cmviRbIvQanxoRxi/5fVUGhtVBXUYvbCdFxDw5W2Svo9fDMm4Z5xWAD7rY1J3AM15RVyRTTtYvgD - diff --git a/dockerbuild/pipelint.sh b/dockerbuild/pipelint.sh deleted file mode 100644 index 7fbd0de82..000000000 --- a/dockerbuild/pipelint.sh +++ /dev/null @@ -1,13 +0,0 @@ -# curl (REST API) -# User -JENKINS_USER=grant - -# Api key from "/me/configure" on my Jenkins instance -JENKINS_USER_KEY=11edf2d49321321119712c46c6349eaad7 - -# Url for my local Jenkins instance. -JENKINS_URL=http://$JENKINS_USER:$JENKINS_USER_KEY@jenkins.int.zerotier.com - -# JENKINS_CRUMB is needed if your Jenkins master has CRSF protection enabled (which it should) -JENKINS_CRUMB=`curl "$JENKINS_URL/crumbIssuer/api/xml?xpath=concat(//crumbRequestField,\":\",//crumb)"` -curl -X POST -H $JENKINS_CRUMB -F "jenkinsfile=