From 2c27ba94f68c9fc92b2aa8e4f8526281216c74ac Mon Sep 17 00:00:00 2001 From: Steve Gilvarry Date: Sun, 4 Jun 2023 15:28:22 +1000 Subject: [PATCH] Add Lunar and other dynamic tags Trying to see if we can use latest, rolling and devel to avoid needing a add a folder for new releases as soon as they are released. --- ubuntu/devel/Dockerfile | 40 +++++++++++++++++++++++++++++++++++++++ ubuntu/latest/Dockerfile | 40 +++++++++++++++++++++++++++++++++++++++ ubuntu/lunar/Dockerfile | 40 +++++++++++++++++++++++++++++++++++++++ ubuntu/rolling/Dockerfile | 40 +++++++++++++++++++++++++++++++++++++++ 4 files changed, 160 insertions(+) create mode 100644 ubuntu/devel/Dockerfile create mode 100644 ubuntu/latest/Dockerfile create mode 100644 ubuntu/lunar/Dockerfile create mode 100644 ubuntu/rolling/Dockerfile diff --git a/ubuntu/devel/Dockerfile b/ubuntu/devel/Dockerfile new file mode 100644 index 0000000..5894e63 --- /dev/null +++ b/ubuntu/devel/Dockerfile @@ -0,0 +1,40 @@ +ARG ARCH= +FROM ${ARCH}ubuntu:devel +MAINTAINER Artem Morozov + +# 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 and base toolset +RUN apt-get update && apt-get install -y --force-yes \ + apt-transport-https \ + curl \ + wget \ + gnupg \ + ca-certificates \ + software-properties-common \ + sudo \ + git \ + build-essential \ + cmake \ + gdb \ + ccache \ + devscripts \ + debhelper \ + cdbs \ + fakeroot \ + lintian \ + equivs \ + rpm \ + alien \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* + +# Enable sudo without password +RUN echo '%adm ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers diff --git a/ubuntu/latest/Dockerfile b/ubuntu/latest/Dockerfile new file mode 100644 index 0000000..1d91fd2 --- /dev/null +++ b/ubuntu/latest/Dockerfile @@ -0,0 +1,40 @@ +ARG ARCH= +FROM ${ARCH}ubuntu:latest +MAINTAINER Artem Morozov + +# 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 and base toolset +RUN apt-get update && apt-get install -y --force-yes \ + apt-transport-https \ + curl \ + wget \ + gnupg \ + ca-certificates \ + software-properties-common \ + sudo \ + git \ + build-essential \ + cmake \ + gdb \ + ccache \ + devscripts \ + debhelper \ + cdbs \ + fakeroot \ + lintian \ + equivs \ + rpm \ + alien \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* + +# Enable sudo without password +RUN echo '%adm ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers diff --git a/ubuntu/lunar/Dockerfile b/ubuntu/lunar/Dockerfile new file mode 100644 index 0000000..70c9aa3 --- /dev/null +++ b/ubuntu/lunar/Dockerfile @@ -0,0 +1,40 @@ +ARG ARCH= +FROM ${ARCH}ubuntu:lunar +MAINTAINER Artem Morozov + +# 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 and base toolset +RUN apt-get update && apt-get install -y --force-yes \ + apt-transport-https \ + curl \ + wget \ + gnupg \ + ca-certificates \ + software-properties-common \ + sudo \ + git \ + build-essential \ + cmake \ + gdb \ + ccache \ + devscripts \ + debhelper \ + cdbs \ + fakeroot \ + lintian \ + equivs \ + rpm \ + alien \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* + +# Enable sudo without password +RUN echo '%adm ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers diff --git a/ubuntu/rolling/Dockerfile b/ubuntu/rolling/Dockerfile new file mode 100644 index 0000000..83e6b85 --- /dev/null +++ b/ubuntu/rolling/Dockerfile @@ -0,0 +1,40 @@ +ARG ARCH= +FROM ${ARCH}ubuntu:rolling +MAINTAINER Artem Morozov + +# 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 and base toolset +RUN apt-get update && apt-get install -y --force-yes \ + apt-transport-https \ + curl \ + wget \ + gnupg \ + ca-certificates \ + software-properties-common \ + sudo \ + git \ + build-essential \ + cmake \ + gdb \ + ccache \ + devscripts \ + debhelper \ + cdbs \ + fakeroot \ + lintian \ + equivs \ + rpm \ + alien \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* + +# Enable sudo without password +RUN echo '%adm ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers