Skip to contentSkip to conversation

support/docker: add new dockers

PATCH New Yann E. MORIN 3 participants 18 messages Jul 13, 2018 – Jul 16, 2018 Kbuild

lore
Share & tools
lore
#1 lore raw

PATCH 1/5 core: add a rule to generate all our docker images

In reply to Yann E. MORIN
Cc Ricardo Martincoski <[email protected]>
Cc Thomas Petazzoni <[email protected]>
---
 Makefile | 13 +++++++++++++
 1 file changed, 13 insertions(+)
Makefile +13 -0
index 8d25c8a239..e2b8770d53 100644
@@ -1071,6 +1071,8 @@ help:
 	@echo '  external-deps          - list external packages used'
 	@echo '  legal-info             - generate info about license compliance'
 	@echo '  printvars              - dump all the internal variables'
+	@echo '  docker4buildroot       - build docker images of some distros, with all the'
+	@echo '                           packages needed to use Buildroot already installed'
 	@echo
 	@echo '  make V=0|1             - 0 => quiet build (default), 1 => verbose build'
 	@echo '  make O=dir             - Locate all output files in "dir", including .config'
@@ -1131,6 +1133,17 @@ print-version:
 	(cd configs; LC_ALL=C ls -1 *_defconfig) | sed 's/$$/: *defconfig/' >> $@
 	./support/testing/run-tests -l 2>&1 | sed -r -e '/^test_run \((.*)\).*/!d; s//\1: *runtime_test/' | LC_ALL=C sort >> $@
 
+.PHONY: docker4buildroot
+docker4buildroot:
+	@if [ -z "$(BR2_DOCKER_VERSION)" ]; then \
+		printf "Please, set the version of the docker images with BR2_DOCKER_VERSION\n"; \
+		exit 1; \
+	fi
+	for d in support/docker/Dockerfile.*; do \
+		docker build -t "buildroot/$${d#*/Dockerfile.}:$(BR2_DOCKER_VERSION)" \
+			     -f "$${d}" "$${d%/*}" || exit 1; \
+	done
+
 include docs/manual/manual.mk
 -include $(foreach dir,$(BR2_EXTERNAL_DIRS),$(sort $(wildcard $(dir)/docs/*/*.mk)))
 
Signature · 1 line
2.14.1
#0 lore raw

cover support/docker: add new dockers

Hello All!

Add new docker images of various distros, with the packages needed to run Buildroot already installed.

This will help:

- users, to get a build environment known to work,

- developpers, to more easily reproduce build failures reported by users.

A basic set of a few, very various distors have been chosen, to cover a range of diversity:

- the existing, rock-solid Debian Stretch, pinned to a known state,

    that we use for the Gitlab-CI testing;

- Fedora-F28, a bleeding-edge mainstream distro, pinned to the state

    it was at release time;

- Arch 2018.07.01, a snapshot of a popular rolling-release distro;

- Alpine 3.7, an not-so-obscur-yet-far-from-mainstream distro, which peculiarity is to be based on musl and busybox, instead of the more conventional glibc, coreutils, linux-utils, bash, et al...

More variants can be added later, depending on the demand.

Note 1: when this series is applied (if it is), I'll generate the images and push them to the Buildroot repo on the Docker hub.

Note 2: in the first patch, I am absoutely sure we can bike-shed at length on the rule name. Shoot! ;-)

Regards,
Yann E. MORIN.

The following changes since commit bf79731153d2739580954161547225acb60f65e8

libcurl: security bump to version 7.61.0 (2018-07-12 22:18:54 +0200)

are available in the git repository at:

git://git.buildroot.org/~ymorin/git/buildroot.git

for you to fetch changes up to 9f99ad9f8d86876a7e16185a9025223bc01edf9d

support/docker: add an Alpine-3.7 based image (2018-07-13 08:35:08 +0200)

----------------------------------------------------------------
Yann E. MORIN (5):
core: add a rule to generate all our docker images support/docker: rename the Dockerfile and its accompanying file support/docker: add a Fedore-28 based image support/docker: add an Arch image
support/docker: add an Alpine-3.7 based image

 Makefile                                           | 13 ++++++
 support/docker/Dockerfile.alpine-3.7               | 42 +++++++++++++++++++
 support/docker/Dockerfile.arch-2018.07.01          | 40 ++++++++++++++++++
 support/docker/Dockerfile.base                     |  1 +
 .../{Dockerfile => Dockerfile.debian-stretch}      |  7 +++-
 support/docker/Dockerfile.fedora-28                | 48 ++++++++++++++++++++++
 ...ources.list => debian-stretch.apt-sources.list} |  0
 7 files changed, 149 insertions(+), 2 deletions(-)
 create mode 100644 support/docker/Dockerfile.alpine-3.7
 create mode 100644 support/docker/Dockerfile.arch-2018.07.01
 create mode 120000 support/docker/Dockerfile.base
 rename support/docker/{Dockerfile => Dockerfile.debian-stretch} (87%)
 create mode 100644 support/docker/Dockerfile.fedora-28
 rename support/docker/{apt-sources.list => debian-stretch.apt-sources.list} (100%)
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#3 lore raw

PATCH 2/5 support/docker: rename the Dockerfile and its accompanying file

Currently, we only generate one docker image, for use by the gitlab-ci infra.

However, users have expressed an interest in using that image for other uses, like:

- reproducing build failures as reported by the gitlab-ci jobs;

- having a ready-to-use base image to use as-is, or as a template for further customisations.

Additionally, some users have reported the need for similar base images, but based off different distros, with the same goals as above, plus:

- reproducing build failures reported by users on other distros.

As a first step toward providing such images, rename our Dockerfile to include the name and version of the distro it is based off.

We add a symlink so that we still have a 'base' image that we can reference from the gitla-ci infra.

Cc Ricardo Martincoski <[email protected]>
Cc Thomas Petazzoni <[email protected]>
---
 support/docker/Dockerfile.base                                     | 1 +
 support/docker/{Dockerfile => Dockerfile.debian-stretch}           | 7 +++++--
 .../docker/{apt-sources.list => debian-stretch.apt-sources.list}   | 0
 3 files changed, 6 insertions(+), 2 deletions(-)
 create mode 120000 support/docker/Dockerfile.base
 rename support/docker/{Dockerfile => Dockerfile.debian-stretch} (87%)
 rename support/docker/{apt-sources.list => debian-stretch.apt-sources.list} (100%)
support/docker/Dockerfile.base new file +1 -0
new file mode 120000
index 0000000000..06a988b45e
@@ -0,0 +1 @@
+Dockerfile.debian-stretch
\ No newline at end of file
support/docker/Dockerfile.debian-stretch renamed from support/docker/Dockerfile +5 -2
similarity index 87%
rename from support/docker/Dockerfile
rename to support/docker/Dockerfile.debian-stretch
index 36cd3b28a4..2a178e3ca4 100644
@@ -1,6 +1,9 @@
+# vi: ft=dockerfile
 # This Dockerfile generates the docker image that gets used by Gitlab CI
 # To build it (YYYYMMDD.HHMM is the current date and time in UTC):
-#   sudo docker build -t buildroot/base:YYYYMMDD.HHMM support/docker
+#   sudo docker build -t buildroot/base:YYYYMMDD.HHMM \
+#                     -f support/docker/Dockerfile.debian-stretch \
+#                     support/docker
 #   sudo docker push buildroot/base:YYYYMMDD.HHMM
 
 # We use a specific tag for the base image *and* the corresponding date
@@ -16,7 +19,7 @@ description="Container with everything needed to run Buildroot"
 ENV DEBIAN_FRONTEND noninteractive
 
 # This repository can be a bit slow at times. Don't panic...
-COPY apt-sources.list /etc/apt/sources.list
+COPY debian-stretch.apt-sources.list /etc/apt/sources.list
 
 # The container has no package lists, so need to update first
 RUN dpkg --add-architecture i386 && \
support/docker/debian-stretch.apt-sources.list renamed from support/docker/apt-sources.list +0 -0
similarity index 100%
rename from support/docker/apt-sources.list
rename to support/docker/debian-stretch.apt-sources.list
Signature · 1 line
2.14.1
#5 lore raw

PATCH 3/5 support/docker: add a Fedore-28 based image

In reply to Yann E. MORIN

Hopefully, this image is reproducible, since we are not using any update repository, and from the looks of it, the repository of the release is never touched.

Cc Ricardo Martincoski <[email protected]>
Cc Thomas Petazzoni <[email protected]>
---
 support/docker/Dockerfile.fedora-28 | 48 +++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)
 create mode 100644 support/docker/Dockerfile.fedora-28
support/docker/Dockerfile.fedora-28 new file +48 -0
new file mode 100644
index 0000000000..7b8e193bc4
@@ -0,0 +1,48 @@
+# vi: ft=dockerfile
+# Note: this dockerfile is not reproducible, because the repository
+# where we fetch packages from is not pinned to a specific point in
+# time; i.e. we'll get whatever is current at the moment we build.
+
+FROM fedora:28
+
+# Fedora's Dokerfile does not provide a edefault command
+CMD ["bash"]
+
+LABEL maintainer="Buildroot mailing list <[email protected]>" \
+      vendor="Buildroot" \
+      description="Container based on Fedora 28, with everything needed to run Buildroot already installed"
+
+# Remove the repository with updates, so we only
+# get packages as they were at time of release.
+RUN rm -f /etc/yum.repos.d/fedora-updates*.repo && \
+    dnf -y install \
+        @development-tools \
+        bc \
+        bzip2 \
+        bzr \
+        cpio \
+        cvs \
+        file \
+        gcc-c++ \
+        git \
+        ncurses-devel \
+        mercurial \
+        perl-ExtUtils-MakeMaker \
+        perl-Thread-Queue \
+        python-nose2 \
+        python-pexpect \
+        qemu-system-arm \
+        qemu-system-x86 \
+        rsync \
+        subversion \
+        unzip \
+        wget \
+    && dnf -y clean all
+
+RUN useradd -ms /bin/bash br-user && \
+    chown -R br-user:br-user /home/br-user
+
+USER br-user
+WORKDIR /home/br-user
+ENV HOME /home/br-user
+ENV LC_ALL en_US.UTF-8
Signature · 1 line
2.14.1
#7 lore raw

PATCH 4/5 support/docker: add an Arch image

In reply to Yann E. MORIN

Hopefully, this image is reproducible, since we are using a tagged base image, plus a pinned repository mirror.

As for the Debian-stretch Dockerfile, we refresh the repository and install packages in two different layers (see commit c4f844ff321 (support/docker: run apt-get update and apt-get install in two RUNs) for in-depth explanations.

Cc Ricardo Martincoski <[email protected]>
Cc Thomas Petazzoni <[email protected]>
---
 support/docker/Dockerfile.arch-2018.07.01 | 40 +++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 support/docker/Dockerfile.arch-2018.07.01
support/docker/Dockerfile.arch-2018.07.01 new file +40 -0
new file mode 100644
index 0000000000..65e74d0fdb
@@ -0,0 +1,40 @@
+# vi: ft=dockerfile
+
+# When updating this version, please also update it below.
+FROM base/devel:2018.07.01
+
+LABEL maintainer="Buildroot mailing list <[email protected]>" \
+      vendor="Buildroot" \
+      description="Container based on Arch 2018.07.01, with everything needed to run Buildroot already installed"
+
+# Pin the repository to a known version
+RUN echo 'Server=https://archive.archlinux.org/repos/2018/07/01/$repo/os/$arch' \
+        > /etc/pacman.d/mirrorlist && \
+    pacman -Sy
+RUN pacman --noconfirm -S \
+        bc \
+        bzr \
+        cvs \
+        cpio \
+        flake8 \
+        git \
+        mercurial \
+        python \
+        python-nose2 \
+        python-pexpect \
+        qemu \
+        qemu-arch-extra \
+        rsync \
+        subversion \
+        unzip \
+        wget
+
+RUN sed -i 's/# *\(en_US.UTF-8\)/\1/' /etc/locale.gen \
+    && /usr/sbin/locale-gen
+
+RUN useradd -ms /bin/bash br-user
+
+USER br-user
+WORKDIR /home/br-user
+ENV HOME /home/br-user
+ENV LC_ALL en_US.UTF-8
Signature · 1 line
2.14.1
#15 lore raw

PATCH 5/5 support/docker: add an Alpine-3.7 based image

In reply to Yann E. MORIN

No attempt was made at making this image reproducible.

Cc Ricardo Martincoski <[email protected]>
Cc Thomas Petazzoni <[email protected]>
---
 support/docker/Dockerfile.alpine-3.7 | 42 ++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)
 create mode 100644 support/docker/Dockerfile.alpine-3.7
support/docker/Dockerfile.alpine-3.7 new file +42 -0
new file mode 100644
index 0000000000..e05eb2bd4a
@@ -0,0 +1,42 @@
+# vi: ft=dockerfile
+# Note: this dockerfile is not reproducible, because the repository
+# where we fetch packages from is not pinned to a specific point in
+# time; i.e. we'll get whatever is current at the moment we build.
+
+FROM alpine:3.7
+
+LABEL maintainer="Buildroot mailing list <[email protected]>" \
+      vendor="Buildroot" \
+      description="Container based on Alpine 3.7, with everything needed to run Buildroot already installed"
+
+RUN apk update
+
+RUN apk add \
+    alpine-sdk \
+    bash \
+    bc \
+    bzip2 \
+    bzr \
+    cpio \
+    cvs \
+    file \
+    flake8 \
+    grep \
+    gzip \
+    mercurial \
+    ncurses-dev \
+    perl \
+    py2-nose \
+    py2-pexpect \
+    python \
+    rsync \
+    subversion \
+    unzip \
+    wget
+
+RUN adduser -h /home/br-user -s /bin/bash -D br-user
+
+USER br-user
+WORKDIR /home/br-user
+ENV HOME /home/br-user
+ENV LC_ALL en_US.UTF-8
Signature · 1 line
2.14.1
#8 lore raw

PATCH 4/5 support/docker: add an Arch image

In reply to Yann E. MORIN

Yann,

Quoted 22 lines · Yann E. MORIN

Hopefully, this image is reproducible, since we are using a tagged base image, plus a pinned repository mirror.

As for the Debian-stretch Dockerfile, we refresh the repository and install packages in two different layers (see commit c4f844ff321 (support/docker: run apt-get update and apt-get install in two RUNs) for in-depth explanations.

Cc Ricardo Martincoski <[email protected]>
Cc Thomas Petazzoni <[email protected]>
---
 support/docker/Dockerfile.arch-2018.07.01 | 40 +++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 support/docker/Dockerfile.arch-2018.07.01
support/docker/Dockerfile.arch-2018.07.01 new file +0 -0
new file mode 100644
index 0000000000..65e74d0fdb

support/docker/Dockerfile.arch-2018.07.01 line 9

Quoted 9 lines
support/docker/Dockerfile.arch-2018.07.01 new file +9 -0
@@ -0,0 +1,40 @@
+# vi: ft=dockerfile
+
+# When updating this version, please also update it below.
+FROM base/devel:2018.07.01
+
+LABEL maintainer="Buildroot mailing list <[email protected]>" \
+      vendor="Buildroot" \
+      description="Container based on Arch 2018.07.01, with everything needed to run Buildroot already installed"
+

It's best practice to combine the update and install from a package manger in one line. So this should be

RUN echo 'Server=https://archive.archlinux.org/repos/2018/07/01/$repo/os/$arch'

\
        > /etc/pacman.d/mirrorlist && \
    pacman -Sy --noconfirm \
Quoted 7 lines
support/docker/Dockerfile.arch-2018.07.01 new file +7 -0
+# Pin the repository to a known version
+RUN echo 'Server=https://archive.archlinux.org/repos/2018/07/01/$repo/os/$arch' \
+        > /etc/pacman.d/mirrorlist && \
+    pacman -Sy
+RUN pacman --noconfirm -S \
+        bc \
+        bzr \

support/docker/Dockerfile.arch-2018.07.01 line 26

Quoted 10 lines
support/docker/Dockerfile.arch-2018.07.01 new file +10 -0
+        cvs \
+        cpio \
+        flake8 \
+        git \
+        mercurial \
+        python \
+        python-nose2 \
+        python-pexpect \
+        qemu \
+        qemu-arch-extra \

If you change to using qemu-headless and qemu-headless-arch-extra packages it saves about 500MB on the image size

Thanks

Martin

Quoted 21 lines
support/docker/Dockerfile.arch-2018.07.01 new file +14 -1
+        rsync \
+        subversion \
+        unzip \
+        wget
+
+RUN sed -i 's/# *\(en_US.UTF-8\)/\1/' /etc/locale.gen \
+    && /usr/sbin/locale-gen
+
+RUN useradd -ms /bin/bash br-user
+
+USER br-user
+WORKDIR /home/br-user
+ENV HOME /home/br-user
+ENV LC_ALL en_US.UTF-8
--

2.14.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

#16 lore raw

PATCH 5/5 support/docker: add an Alpine-3.7 based image

In reply to Yann E. MORIN

Yann,

Quoted 17 lines · Yann E. MORIN

No attempt was made at making this image reproducible.

Cc Ricardo Martincoski <[email protected]>
Cc Thomas Petazzoni <[email protected]>
---
 support/docker/Dockerfile.alpine-3.7 | 42 ++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)
 create mode 100644 support/docker/Dockerfile.alpine-3.7
support/docker/Dockerfile.alpine-3.7 new file +1 -0
new file mode 100644
index 0000000000..e05eb2bd4a
@@ -0,0 +1,42 @@
+# vi: ft=dockerfile

support/docker/Dockerfile.alpine-3.7 line 11

Quoted 10 lines
support/docker/Dockerfile.alpine-3.7 new file +10 -0
+# Note: this dockerfile is not reproducible, because the repository
+# where we fetch packages from is not pinned to a specific point in
+# time; i.e. we'll get whatever is current at the moment we build.
+
+FROM alpine:3.7
+
+LABEL maintainer="Buildroot mailing list <[email protected]>" \
+      vendor="Buildroot" \
+      description="Container based on Alpine 3.7, with everything needed to run Buildroot already installed"
+

It's best practice to combine the update and install from a package manger in one line. So this should be changed to

RUN apk update && apk add \

Thanks

Martin

Quoted 38 lines
support/docker/Dockerfile.alpine-3.7 new file +31 -1
+RUN apk update
+
+RUN apk add \
+    alpine-sdk \
+    bash \
+    bc \
+    bzip2 \
+    bzr \
+    cpio \
+    cvs \
+    file \
+    flake8 \
+    grep \
+    gzip \
+    mercurial \
+    ncurses-dev \
+    perl \
+    py2-nose \
+    py2-pexpect \
+    python \
+    rsync \
+    subversion \
+    unzip \
+    wget
+
+RUN adduser -h /home/br-user -s /bin/bash -D br-user
+
+USER br-user
+WORKDIR /home/br-user
+ENV HOME /home/br-user
+ENV LC_ALL en_US.UTF-8
--

2.14.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

#9 lore raw

PATCH 4/5 support/docker: add an Arch image

In reply to Martin Bark
Quoted 35 lines · Martin Bark

Yann,

Quoted 8 lines · Yann E. MORIN

Hopefully, this image is reproducible, since we are using a tagged base image, plus a pinned repository mirror.

As for the Debian-stretch Dockerfile, we refresh the repository and install packages in two different layers (see commit c4f844ff321 (support/docker: run apt-get update and apt-get install in two RUNs) for in-depth explanations.

Quoted 5 lines
Cc Ricardo Martincoski <[email protected]>
Cc Thomas Petazzoni <[email protected]>
---
 support/docker/Dockerfile.arch-2018.07.01 | 40

+++++++++++++++++++++++++++++++

Review

Quoted 4 lines
 1 file changed, 40 insertions(+)
 create mode 100644 support/docker/Dockerfile.arch-2018.07.01
(quoted diff) +0 -0

b/support/docker/Dockerfile.arch-2018.07.01

support/docker/Dockerfile.arch-2018.07.01 line 6

Quoted 11 lines

new file mode 100644
index 0000000000..65e74d0fdb

support/docker/Dockerfile.arch-2018.07.01 new file +6 -0
@@ -0,0 +1,40 @@
+# vi: ft=dockerfile
+
+# When updating this version, please also update it below.
+FROM base/devel:2018.07.01
+
+LABEL maintainer="Buildroot mailing list <[email protected]>"

\

Quoted 7 lines

support/docker/Dockerfile.arch-2018.07.01 line 8

Quoted 2 lines
support/docker/Dockerfile.arch-2018.07.01 new file +2 -0
+      vendor="Buildroot" \
+      description="Container based on Arch 2018.07.01, with

everything needed to run Buildroot already installed"

support/docker/Dockerfile.arch-2018.07.01 line 9

Quoted 1 line
support/docker/Dockerfile.arch-2018.07.01 new file +1 -0
+

It's best practice to combine the update and install from a package manger in one line. So this should be

Please see:

https://git.busybox.net/buildroot/commit/support/docker/Dockerfile?id=c4f844ff3212266f845ea812da2a8647a9f1e13

Rgd.

Quoted 50 lines

RUN echo 'Server=https://archive.archlinux.org/repos/2018/07/01/$repo/os/$arch'

\
       > /etc/pacman.d/mirrorlist && \

pacman -Sy --noconfirm \

support/docker/Dockerfile.arch-2018.07.01 line 11

Quoted 2 lines
support/docker/Dockerfile.arch-2018.07.01 new file +2 -0
+# Pin the repository to a known version
+RUN echo

'Server=https://archive.archlinux.org/repos/2018/07/01/$repo/os/$arch' \

Quoted 5 lines
support/docker/Dockerfile.arch-2018.07.01 new file +5 -0
+        > /etc/pacman.d/mirrorlist && \
+    pacman -Sy
+RUN pacman --noconfirm -S \
+        bc \
+        bzr \

support/docker/Dockerfile.arch-2018.07.01 line 26

Quoted 10 lines
support/docker/Dockerfile.arch-2018.07.01 new file +10 -0
+        cvs \
+        cpio \
+        flake8 \
+        git \
+        mercurial \
+        python \
+        python-nose2 \
+        python-pexpect \
+        qemu \
+        qemu-arch-extra \

If you change to using qemu-headless and qemu-headless-arch-extra packages it saves about 500MB on the image size

Thanks

Martin

Quoted 17 lines
support/docker/Dockerfile.arch-2018.07.01 new file +14 -1
+        rsync \
+        subversion \
+        unzip \
+        wget
+
+RUN sed -i 's/# *\(en_US.UTF-8\)/\1/' /etc/locale.gen \
+    && /usr/sbin/locale-gen
+
+RUN useradd -ms /bin/bash br-user
+
+USER br-user
+WORKDIR /home/br-user
+ENV HOME /home/br-user
+ENV LC_ALL en_US.UTF-8
--

2.14.1

Quoted 4 lines
Quoted 4 lines

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

Martin, All,

Signature · 1 line
Sent from my phone. Please excuse my brevity.
#10 lore raw

PATCH 4/5 support/docker: add an Arch image

Martin, All,

So, I see that K9mail put the saultations at the end of the mail, which is quite odd... Anyway, let me expand further on my previous reply...

On 2018-07-14 12:01 +0000, Yann E. MORIN spake thusly:

Quoted 5 lines · Martin Bark
Quoted 4 lines
Quoted 2 lines · Yann E. MORIN

Hopefully, this image is reproducible", since we are using a tagged base image, plus a pinned repository mirror.

[--SNIP--]

Quoted 6 lines
Quoted 2 lines

It's best practice to combine the update and install from a package manger in one line. So this should be

Please see:

https://git.busybox.net/buildroot/commit/support/docker/Dockerfile?id=c4f844ff3212266f845ea812da2a8647a9f1e13

So, the reasoning is that, since we use a pinned version of the repository, running "pacman -Sy --noconfirm" will always yield the same state of the distribution.

Now, it happens that we need to add a new package to the image, e.g. for local testing. We can thus re-use the intermediate, locally-cached image that has the local repository updated.

It kinda speeds up things a bit.

Quoted 26 lines
Quoted 26 lines

RUN echo 'Server=https://archive.archlinux.org/repos/2018/07/01/$repo/os/$arch'

\
       > /etc/pacman.d/mirrorlist && \

pacman -Sy --noconfirm \

Review

Quoted 2 lines
(quoted diff) +2 -0
+# Pin the repository to a known version
+RUN echo

'Server=https://archive.archlinux.org/repos/2018/07/01/$repo/os/$arch' \

Quoted 15 lines
support/docker/Dockerfile.arch-2018.07.01 new file +15 -0
+        > /etc/pacman.d/mirrorlist && \
+    pacman -Sy
+RUN pacman --noconfirm -S \
+        bc \
+        bzr \
+        cvs \
+        cpio \
+        flake8 \
+        git \
+        mercurial \
+        python \
+        python-nose2 \
+        python-pexpect \
+        qemu \
+        qemu-arch-extra \
Quoted 2 lines
Quoted 2 lines

If you change to using qemu-headless and qemu-headless-arch-extra packages it saves about 500MB on the image size

Ah, that one is interesting to know! :-)

However, are we sure that we don;t need the headed version of qemu?

And why do we even have to have qemu in the image to start with, in the end?

Regards,
Yann E. MORIN.

Quoted 29 lines
Quoted 21 lines

Thanks

Martin

Quoted 17 lines
support/docker/Dockerfile.arch-2018.07.01 new file +14 -1
+        rsync \
+        subversion \
+        unzip \
+        wget
+
+RUN sed -i 's/# *\(en_US.UTF-8\)/\1/' /etc/locale.gen \
+    && /usr/sbin/locale-gen
+
+RUN useradd -ms /bin/bash br-user
+
+USER br-user
+WORKDIR /home/br-user
+ENV HOME /home/br-user
+ENV LC_ALL en_US.UTF-8
--

2.14.1

Quoted 4 lines
Quoted 4 lines

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

Martin, All,

Signature · 1 line
Sent from my phone. Please excuse my brevity.
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#11 lore raw

PATCH 4/5 support/docker: add an Arch image

Yann,

Quoted 23 lines · Yann E. MORIN

Martin, All,

So, I see that K9mail put the saultations at the end of the mail, which is quite odd... Anyway, let me expand further on my previous reply...

On 2018-07-14 12:01 +0000, Yann E. MORIN spake thusly:

Quoted 5 lines · Martin Bark
Quoted 4 lines
Quoted 2 lines · Yann E. MORIN

Hopefully, this image is reproducible", since we are using a tagged base image, plus a pinned repository mirror.

[--SNIP--]

Quoted 6 lines
Quoted 2 lines

It's best practice to combine the update and install from a package manger in one line. So this should be

Please see:

https://git.busybox.net/buildroot/commit/support/docker/Dockerfile?id=c4f844ff3212266f845ea812da2a8647a9f1e13

So, the reasoning is that, since we use a pinned version of the repository, running "pacman -Sy --noconfirm" will always yield the same state of the distribution.

Quoted 5 lines

Now, it happens that we need to add a new package to the image, e.g. for local testing. We can thus re-use the intermediate, locally-cached image that has the local repository updated.

It kinda speeds up things a bit.

Yes where you have a pinned package repo i agree splitting the update and install is ok. So for debian and archlinux this is true but for alpine you do need the update and install in one RUN

Quoted 30 lines
Quoted 27 lines
Quoted 27 lines

RUN echo 'Server=https://archive.archlinux.org/repos/2018/07/01/$repo/os/$arch'

\
       > /etc/pacman.d/mirrorlist && \

pacman -Sy --noconfirm \

Review

Quoted 2 lines
(quoted diff) +2 -0
+# Pin the repository to a known version
+RUN echo

'Server=https://archive.archlinux.org/repos/2018/07/01/$repo/os/$arch' \

Quoted 15 lines
support/docker/Dockerfile.arch-2018.07.01 new file +15 -0
+        > /etc/pacman.d/mirrorlist && \
+    pacman -Sy
+RUN pacman --noconfirm -S \
+        bc \
+        bzr \
+        cvs \
+        cpio \
+        flake8 \
+        git \
+        mercurial \
+        python \
+        python-nose2 \
+        python-pexpect \
+        qemu \
+        qemu-arch-extra \
Quoted 2 lines
Quoted 2 lines

If you change to using qemu-headless and qemu-headless-arch-extra packages it saves about 500MB on the image size

Quoted 6 lines

Ah, that one is interesting to know! :-)

However, are we sure that we don;t need the headed version of qemu?

And why do we even have to have qemu in the image to start with, in the end?

Good questions i don't know the answer to. I assume it's something to do with automated testing.

Thanks

Martin

Quoted 41 lines

Regards,
Yann E. MORIN.

Quoted 21 lines
Quoted 21 lines

Thanks

Martin

Quoted 17 lines
support/docker/Dockerfile.arch-2018.07.01 new file +14 -1
+        rsync \
+        subversion \
+        unzip \
+        wget
+
+RUN sed -i 's/# *\(en_US.UTF-8\)/\1/' /etc/locale.gen \
+    && /usr/sbin/locale-gen
+
+RUN useradd -ms /bin/bash br-user
+
+USER br-user
+WORKDIR /home/br-user
+ENV HOME /home/br-user
+ENV LC_ALL en_US.UTF-8
--

2.14.1

Quoted 8 lines
Quoted 4 lines
Quoted 4 lines

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

Martin, All,
--
Sent from my phone. Please excuse my brevity.

--
.-----------------.--------------------.------------------.--------------------.

|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |

'------------------------------^-------^------------------^--------------------'

#12 lore raw

PATCH 4/5 support/docker: add an Arch image

Martin, All,

On 2018-07-15 20:30 +0100, Martin Bark spake thusly:

Quoted 1 line · Yann E. MORIN

[--SNIP--]

Quoted 8 lines
Quoted 8 lines

So, the reasoning is that, since we use a pinned version of the repository, running "pacman -Sy --noconfirm" will always yield the same state of the distribution.

Now, it happens that we need to add a new package to the image, e.g. for local testing. We can thus re-use the intermediate, locally-cached image that has the local repository updated.

Quoted 5 lines
Quoted 1 line

It kinda speeds up things a bit.

Yes where you have a pinned package repo i agree splitting the update and install is ok. So for debian and archlinux this is true but for alpine you do need the update and install in one RUN

Agreed on principle.

However, I'd like we use the same constructs in all our dockerfiles, for consistency sake.

And even if I did not expend too much time at making the Alpine image reproducible, I expect that we can ultimately make it so, if it is not already.

In fact, I even expected people to show up and say "hey! what you did makes ofr a reproducible image," or "hey! here's how you can make it reproducible." ;-)

Regards,
Yann E. MORIN.

[--SNIP--]

Quoted 61 lines
Quoted 6 lines
Quoted 5 lines
Quoted 5 lines

support/docker/Dockerfile.arch-2018.07.01 line 26

Quoted 2 lines
support/docker/Dockerfile.arch-2018.07.01 new file +2 -0
+        qemu \
+        qemu-arch-extra \

If you change to using qemu-headless and qemu-headless-arch-extra packages it saves about 500MB on the image size

Quoted 6 lines

Ah, that one is interesting to know! :-)

However, are we sure that we don;t need the headed version of qemu?

And why do we even have to have qemu in the image to start with, in the end?

Good questions i don't know the answer to. I assume it's something to do with automated testing.

Thanks

Martin

Quoted 41 lines

Regards,
Yann E. MORIN.

Quoted 21 lines
Quoted 21 lines

Thanks

Martin

Quoted 17 lines
support/docker/Dockerfile.arch-2018.07.01 new file +14 -1
+        rsync \
+        subversion \
+        unzip \
+        wget
+
+RUN sed -i 's/# *\(en_US.UTF-8\)/\1/' /etc/locale.gen \
+    && /usr/sbin/locale-gen
+
+RUN useradd -ms /bin/bash br-user
+
+USER br-user
+WORKDIR /home/br-user
+ENV HOME /home/br-user
+ENV LC_ALL en_US.UTF-8
--

2.14.1

Quoted 8 lines
Quoted 4 lines
Quoted 4 lines

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

Martin, All,
--
Sent from my phone. Please excuse my brevity.

--
.-----------------.--------------------.------------------.--------------------.

|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |

'------------------------------^-------^------------------^--------------------'

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#13 lore raw

PATCH 4/5 support/docker: add an Arch image

Yann,

Quoted 24 lines · Yann E. MORIN

Martin, All,

On 2018-07-15 20:30 +0100, Martin Bark spake thusly:

Quoted 1 line · Yann E. MORIN

[--SNIP--]

Quoted 8 lines
Quoted 8 lines

So, the reasoning is that, since we use a pinned version of the repository, running "pacman -Sy --noconfirm" will always yield the same state of the distribution.

Now, it happens that we need to add a new package to the image, e.g. for local testing. We can thus re-use the intermediate, locally-cached image that has the local repository updated.

Quoted 5 lines
Quoted 1 line

It kinda speeds up things a bit.

Yes where you have a pinned package repo i agree splitting the update and install is ok. So for debian and archlinux this is true but for alpine you do need the update and install in one RUN

Agreed on principle.

However, I'd like we use the same constructs in all our dockerfiles, for consistency sake.

Quoted 8 lines

And even if I did not expend too much time at making the Alpine image reproducible, I expect that we can ultimately make it so, if it is not already.

In fact, I even expected people to show up and say "hey! what you did makes ofr a reproducible image," or "hey! here's how you can make it reproducible." ;-)

hey! here's how you can make it reproducible

1) build the alpine docker image.
2) mkdir -p support/docker/alpine_snapshot
3) docker run -it --rm -v $PWD/support/docker/alpine_snapshot:/snapshot -u root buildroot/alpine-3.7:$BR2_DOCKER_VERSION bash
4) inside the container run

mkdir -p /var/cache/apk
ln -s /var/cache/apk /etc/apk/cache
apk cache sync
cp -a /etc/apk/cache/*.apk /snapshot
exit

7) sudo chown -R $(id -u):$(id -g) support/docker/alpine_snapshot
6) edit the Dockerfile so it looks like this

COPY ./alpine_snapshot /snapshot
RUN apk add /snapshot/*.apk

7) build the alpine docker image again. it will build using the apk files from /snapshot directory we just created

This is not ideal but it's a proof of concept. To improve you could copy the apk to a website, setup it up as a proper signed package repository and then edit /etc/apk/repositories to use this snapshot

Thanks

Martin

Quoted 73 lines

Regards,
Yann E. MORIN.

[--SNIP--]

Quoted 13 lines
Quoted 6 lines
Quoted 5 lines
Quoted 5 lines

support/docker/Dockerfile.arch-2018.07.01 line 26

Quoted 2 lines
support/docker/Dockerfile.arch-2018.07.01 new file +2 -0
+        qemu \
+        qemu-arch-extra \

If you change to using qemu-headless and qemu-headless-arch-extra packages it saves about 500MB on the image size

Quoted 6 lines

Ah, that one is interesting to know! :-)

However, are we sure that we don;t need the headed version of qemu?

And why do we even have to have qemu in the image to start with, in the end?

Quoted 48 lines

Good questions i don't know the answer to. I assume it's something to do with automated testing.

Thanks

Martin

Quoted 41 lines

Regards,
Yann E. MORIN.

Quoted 21 lines
Quoted 21 lines

Thanks

Martin

Quoted 17 lines
support/docker/Dockerfile.arch-2018.07.01 new file +14 -1
+        rsync \
+        subversion \
+        unzip \
+        wget
+
+RUN sed -i 's/# *\(en_US.UTF-8\)/\1/' /etc/locale.gen \
+    && /usr/sbin/locale-gen
+
+RUN useradd -ms /bin/bash br-user
+
+USER br-user
+WORKDIR /home/br-user
+ENV HOME /home/br-user
+ENV LC_ALL en_US.UTF-8
--

2.14.1

Quoted 8 lines
Quoted 4 lines
Quoted 4 lines

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

Martin, All,
--
Sent from my phone. Please excuse my brevity.

--
.-----------------.--------------------.------------------.--------------------.

|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |

'------------------------------^-------^------------------^--------------------'

--
.-----------------.--------------------.------------------.--------------------.

|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |

'------------------------------^-------^------------------^--------------------'

#2 lore raw

PATCH 1/5 core: add a rule to generate all our docker images

In reply to Yann E. MORIN

Hello,

On Fri, Jul 13, 2018 at 03:38 AM, Yann E. MORIN wrote:

[snip]

Makefile help: · line 1075

Quoted 6 lines
Makefile +2 -0
@@ -1071,6 +1071,8 @@ help:
 	@echo '  external-deps          - list external packages used'
 	@echo '  legal-info             - generate info about license compliance'
 	@echo '  printvars              - dump all the internal variables'
+	@echo '  docker4buildroot       - build docker images of some distros, with all the'
+	@echo '                           packages needed to use Buildroot already installed'

From your cover letter:
"Note 1: when this series is applied (if it is), I'll generate the images and push them to the Buildroot repo on the Docker hub."

So for the everyday use, people will not build the images, but instead just download the images and use them, something like this:

$ docker pull buildroot/fedora-28:20180717.1955

So we could use a bash script instead of creating another make target just for this:
support/docker/build
This script could:
- enforce it is called from base dir (if that matters, I am not sure);
- accept the BR2_DOCKER_VERSION as a command line parameter and also in its usage do state it is preferable to use the YYYYMMDD.HHMM format, reusing the text from the dockerfile header: "(YYYYMMDD.HHMM is the current date and time in UTC)"
- allow users to easily change the prefix for the tag. It would be useful when someone wants to create a patch adding stuff to the docker images, generate a test image, upload to its own hub.docker.com account (e.g. docker push ricardomartincoski/debian-stretch:20180717.1955) and use it for tests in its own gitlab account.

[snip]

Makefile print-version: · line 1143

Quoted 7 lines
Makefile +7 -0
+docker4buildroot:
+	@if [ -z "$(BR2_DOCKER_VERSION)" ]; then \
+		printf "Please, set the version of the docker images with BR2_DOCKER_VERSION\n"; \
+		exit 1; \
+	fi
+	for d in support/docker/Dockerfile.*; do \
+		docker build -t "buildroot/$${d#*/Dockerfile.}:$(BR2_DOCKER_VERSION)" \

After applying only patch 1 I get:

$ export BR2_DOCKER_VERSION=20180717.1955
$ make docker4buildroot
invalid argument "buildroot/*:20180717.1955" for "-t, --tag" flag: invalid reference format

Because the pattern Dockerfile.* does not match before patch 2 is applied.

You could adjust the pattern (Dockerfile.* -> Dockerfile*) but maybe even better is to invert the order of patches 1 and 2 in the series.

Makefile print-version: · line 1146

Quoted 3 lines
Makefile +3 -0
+			     -f "$${d}" "$${d%/*}" || exit 1; \
+	done
+

Regards,
Ricardo

#4 lore raw

PATCH 2/5 support/docker: rename the Dockerfile and its accompanying file

In reply to Yann E. MORIN

Hello,

On Fri, Jul 13, 2018 at 03:38 AM, Yann E. MORIN wrote:

[snip]

Quoted 2 lines

We add a symlink so that we still have a 'base' image that we can reference from the gitla-ci infra.

We could drop the symlink and just use the new name in .gitlab-ci.yml* once the new image gets uploaded:
-image: buildroot/base:20180318.1724
+image: buildroot/debian-stretch:2018MMDD.HHMM

Also, see my review on patch 1, I think it would be better to invert the order of patches 1 and 2 in the series.

Regards,
Ricardo

#6 lore raw

PATCH 3/5 support/docker: add a Fedore-28 based image

In reply to Yann E. MORIN

Hello,

On Fri, Jul 13, 2018 at 03:38 AM, Yann E. MORIN <[email protected]> wrote:

[snip]

Quoted 4 lines
support/docker/Dockerfile.fedora-28 new file +4 -0
+RUN rm -f /etc/yum.repos.d/fedora-updates*.repo && \
+    dnf -y install \
+        @development-tools \
+        bc \

support/docker/Dockerfile.fedora-28 line 29

Quoted 10 lines
support/docker/Dockerfile.fedora-28 new file +9 -0
+        bzip2 \
+        bzr \
+        cpio \
+        cvs \
+        file \
+        gcc-c++ \
+        git \
 
+        ncurses-devel \
+        mercurial \

Er, the sort failed here. :-)

support/docker/Dockerfile.fedora-28 line 33

Quoted 4 lines
support/docker/Dockerfile.fedora-28 new file +4 -0
+        perl-ExtUtils-MakeMaker \
+        perl-Thread-Queue \
+        python-nose2 \
+        python-pexpect \

Maybe add python2-flake8.noarch (not tested) for consistency between the docker images? See:
https://gitlab.com/RicardoMartincoski/buildroot/-/jobs/81878555

support/docker/Dockerfile.fedora-28 line 40

Quoted 7 lines
support/docker/Dockerfile.fedora-28 new file +7 -0
+        qemu-system-arm \
+        qemu-system-x86 \
+        rsync \
+        subversion \
+        unzip \
+        wget \
+    && dnf -y clean all

I guess some *.i686 packages should also be added (not tested). See:
https://gitlab.com/RicardoMartincoski/buildroot/-/jobs/81878562

Regards,
Ricardo

#17 lore raw

PATCH 5/5 support/docker: add an Alpine-3.7 based image

In reply to Yann E. MORIN

Hello,

On Fri, Jul 13, 2018 at 03:38 AM, Yann E. MORIN wrote:

[snip]

support/docker/Dockerfile.alpine-3.7 line 23

Quoted 10 lines
support/docker/Dockerfile.alpine-3.7 new file +10 -0
+RUN apk add \
+    alpine-sdk \
+    bash \
+    bc \
+    bzip2 \
+    bzr \
+    cpio \
+    cvs \
+    file \
+    flake8 \

Not sure why it does not work. See:
https://gitlab.com/RicardoMartincoski/buildroot/-/jobs/81881805

Maybe it's a dependency issue that we can work around by adding py-enum34? (not tested)

support/docker/Dockerfile.alpine-3.7 line 29

Quoted 6 lines
support/docker/Dockerfile.alpine-3.7 new file +6 -0
+    grep \
+    gzip \
+    mercurial \
+    ncurses-dev \
+    perl \
+    py2-nose \

No. We need nose2. See:
https://gitlab.com/RicardoMartincoski/buildroot/-/jobs/81881843
I am not sure it is packaged.

support/docker/Dockerfile.alpine-3.7 line 31

Quoted 2 lines
support/docker/Dockerfile.alpine-3.7 new file +2 -0
+    py2-pexpect \
+    python \

qemu-<something> ?

support/docker/Dockerfile.alpine-3.7 line 36

Quoted 5 lines
support/docker/Dockerfile.alpine-3.7 new file +5 -0
+    rsync \
+    subversion \
+    unzip \
+    wget
+

Regards,
Ricardo

#14 lore raw

PATCH 4/5 support/docker: add an Arch image

In reply to Martin Bark

Martin, All,

On 2018-07-16 01:13 +0100, Martin Bark spake thusly:

Quoted 8 lines · Yann E. MORIN
Quoted 7 lines

On 2018-07-15 20:30 +0100, Martin Bark spake thusly:

Quoted 1 line · Yann E. MORIN

[--SNIP--]

Quoted 4 lines
Quoted 4 lines

So, the reasoning is that, since we use a pinned version of the repository, running "pacman -Sy --noconfirm" will always yield the same state of the distribution.

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

Now, it happens that we need to add a new package to the image, e.g. for local testing. We can thus re-use the intermediate, locally-cached image that has the local repository updated.

It kinda speeds up things a bit.

[--SNIP--]

Quoted 1 line

hey! here's how you can make it reproducible

Wee! :-)

Quoted 19 lines

1) build the alpine docker image.
2) mkdir -p support/docker/alpine_snapshot
3) docker run -it --rm -v $PWD/support/docker/alpine_snapshot:/snapshot -u root buildroot/alpine-3.7:$BR2_DOCKER_VERSION bash
4) inside the container run

mkdir -p /var/cache/apk
ln -s /var/cache/apk /etc/apk/cache
apk cache sync
cp -a /etc/apk/cache/*.apk /snapshot
exit

7) sudo chown -R $(id -u):$(id -g) support/docker/alpine_snapshot
6) edit the Dockerfile so it looks like this

COPY ./alpine_snapshot /snapshot
RUN apk add /snapshot/*.apk

Quoted 6 lines

7) build the alpine docker image again. it will build using the apk files from /snapshot directory we just created

This is not ideal but it's a proof of concept. To improve you could copy the apk to a website, setup it up as a proper signed package repository and then edit /etc/apk/repositories to use this snapshot

Wooo... Scary...

OK, I'll give it a try.

Thanks you for the feedback! :-)

Regards,
Yann E. MORIN.

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'