From b43c3fe0c98f4373353ae94f70b3b9510f2934a1 Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Wed, 29 Mar 2023 00:22:20 +0100 Subject: [PATCH] chore: finaly remove dockerfile --- dists/build/archlinux/Dockerfile | 13 ------------- dists/build/debian/Dockerfile | 23 ----------------------- dists/build/ubuntu/Dockerfile | 19 ------------------- 3 files changed, 55 deletions(-) delete mode 100644 dists/build/archlinux/Dockerfile delete mode 100644 dists/build/debian/Dockerfile delete mode 100644 dists/build/ubuntu/Dockerfile diff --git a/dists/build/archlinux/Dockerfile b/dists/build/archlinux/Dockerfile deleted file mode 100644 index a0698962..00000000 --- a/dists/build/archlinux/Dockerfile +++ /dev/null @@ -1,13 +0,0 @@ -FROM archlinux:base-devel - -RUN pacman -Syu --noconfirm --noprogressbar --quiet \ - devtools git pacman-contrib \ - go git rsync lsb-release && \ - paccache -r -k 0 && \ - pacman -Rscn --noconfirm --noprogressbar pacman-contrib && \ - useradd -m -s /bin/bash -u 1000 build && \ - echo "build ALL=NOPASSWD: ALL" >> /etc/sudoers && \ - chown -R build:build /home/build - -USER build -CMD ["/bin/bash"] diff --git a/dists/build/debian/Dockerfile b/dists/build/debian/Dockerfile deleted file mode 100644 index 85f8c2cf..00000000 --- a/dists/build/debian/Dockerfile +++ /dev/null @@ -1,23 +0,0 @@ -FROM debian:11 - -ENV DEBIAN_FRONTEND=noninteractive \ - TERM=xterm - -# hadolint ignore=DL3008 -RUN echo 'deb http://deb.debian.org/debian bullseye-backports main contrib non-free' >> /etc/apt/sources.list && \ - apt-get update -y && apt-get -qq -y --no-install-recommends upgrade && \ - apt-get -qq -y --no-install-recommends install \ - build-essential devscripts debhelper fakeroot config-package-dev \ - git lsb-release rsync && \ - apt-get -qq -y --no-install-recommends install \ - golang-1.19-go -t bullseye-backports && \ - apt-get -qy autoremove && \ - apt-get -qq --purge remove -y .\*-doc$ && \ - apt-get clean && \ - rm -rf /usr/share/doc /usr/share/man /var/lib/apt/lists/* /tmp/* /var/tmp/* && \ - ln -s /usr/lib/go-1.19/bin/go /usr/bin/go && \ - useradd -m -s /bin/bash -u 1000 build && \ - chown -R build:build /home/build - -USER build -CMD ["/bin/bash"] diff --git a/dists/build/ubuntu/Dockerfile b/dists/build/ubuntu/Dockerfile deleted file mode 100644 index aea5f447..00000000 --- a/dists/build/ubuntu/Dockerfile +++ /dev/null @@ -1,19 +0,0 @@ -FROM ubuntu:22.04 - -ENV DEBIAN_FRONTEND=noninteractive \ - TERM=xterm - -# hadolint ignore=DL3008 -RUN apt-get update -y && apt-get -qq -y --no-install-recommends upgrade && \ - apt-get -qq -y --no-install-recommends install \ - build-essential devscripts debhelper fakeroot config-package-dev \ - git lsb-release rsync golang-go && \ - apt-get -qy autoremove && \ - apt-get -qq --purge remove -y .\*-doc$ && \ - apt-get clean && \ - rm -rf /usr/share/doc /usr/share/man /var/lib/apt/lists/* /tmp/* /var/tmp/* && \ - useradd -m -s /bin/bash -u 1000 build && \ - chown -R build:build /home/build - -USER build -CMD ["/bin/bash"]