Skip to content

Commit c9aa5f0

Browse files
committed
Re-generated dockerfiles
1 parent e1b7820 commit c9aa5f0

17 files changed

Lines changed: 748 additions & 0 deletions

File tree

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Build #: +1
2+
FROM ubuntu:bionic
3+
4+
# https://bugs.debian.org/830696 (apt uses gpgv by default in newer releases, rather than gpg)
5+
RUN set -x \
6+
&& apt-get update \
7+
&& { \
8+
which gpg \
9+
|| apt-get install -y --no-install-recommends gnupg \
10+
; } \
11+
# Ubuntu includes "gnupg" (not "gnupg2", but still 2.x), but not dirmngr, and gnupg 2.x requires dirmngr
12+
# so, if we're not running gnupg 1.x, explicitly install dirmngr too
13+
&& { \
14+
gpg --version | grep -q '^gpg (GnuPG) 1\.' \
15+
|| apt-get install -y --no-install-recommends dirmngr \
16+
; } \
17+
&& rm -rf /var/lib/apt/lists/*
18+
19+
# apt-key is a bit finicky during "docker build" with gnupg 2.x, so install the repo key the same way debian-archive-keyring does (/etc/apt/trusted.gpg.d)
20+
# this makes "apt-key list" output prettier too!
21+
RUN set -x \
22+
&& export GNUPGHOME="$(mktemp -d)" \
23+
&& gpg --batch --keyserver keyserver.ubuntu.com --recv-keys DD95CC430502E37EF840ACEEA5D32F012649A5A9 \
24+
&& gpg --batch --export DD95CC430502E37EF840ACEEA5D32F012649A5A9 > /etc/apt/trusted.gpg.d/neurodebian.gpg \
25+
&& rm -rf "$GNUPGHOME" \
26+
&& apt-key list | grep neurodebian
27+
28+
RUN { \
29+
echo 'deb http://neuro.debian.net/debian bionic main'; \
30+
echo 'deb http://neuro.debian.net/debian data main'; \
31+
echo '#deb-src http://neuro.debian.net/debian-devel bionic main'; \
32+
} > /etc/apt/sources.list.d/neurodebian.sources.list
33+
34+
# Minimalistic package to assist with freezing the APT configuration
35+
# which would be coming from neurodebian repo.
36+
# Also install and enable eatmydata to be used for all apt-get calls
37+
# to speed up docker builds.
38+
RUN set -x \
39+
&& apt-get update \
40+
&& apt-get install -y --no-install-recommends neurodebian-freeze eatmydata \
41+
&& ln -s /usr/bin/eatmydata /usr/local/bin/apt-get \
42+
&& rm -rf /var/lib/apt/lists/*
43+
44+
RUN [ -e /etc/apt/sources.list.d/debian.sources ] && srcs=/etc/apt/sources.list.d/debian.sources || srcs=/etc/apt/sources.list; sed -i -e 's,main *$,main contrib non-free,g' /etc/apt/sources.list.d/neurodebian.sources.list; grep -q 'deb .* multiverse$' $srcs || sed -i -e 's,universe *$,universe multiverse,g' $srcs

dockerfiles/bionic/Dockerfile

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Build #: +1
2+
FROM ubuntu:bionic
3+
4+
# https://bugs.debian.org/830696 (apt uses gpgv by default in newer releases, rather than gpg)
5+
RUN set -x \
6+
&& apt-get update \
7+
&& { \
8+
which gpg \
9+
|| apt-get install -y --no-install-recommends gnupg \
10+
; } \
11+
# Ubuntu includes "gnupg" (not "gnupg2", but still 2.x), but not dirmngr, and gnupg 2.x requires dirmngr
12+
# so, if we're not running gnupg 1.x, explicitly install dirmngr too
13+
&& { \
14+
gpg --version | grep -q '^gpg (GnuPG) 1\.' \
15+
|| apt-get install -y --no-install-recommends dirmngr \
16+
; } \
17+
&& rm -rf /var/lib/apt/lists/*
18+
19+
# apt-key is a bit finicky during "docker build" with gnupg 2.x, so install the repo key the same way debian-archive-keyring does (/etc/apt/trusted.gpg.d)
20+
# this makes "apt-key list" output prettier too!
21+
RUN set -x \
22+
&& export GNUPGHOME="$(mktemp -d)" \
23+
&& gpg --batch --keyserver keyserver.ubuntu.com --recv-keys DD95CC430502E37EF840ACEEA5D32F012649A5A9 \
24+
&& gpg --batch --export DD95CC430502E37EF840ACEEA5D32F012649A5A9 > /etc/apt/trusted.gpg.d/neurodebian.gpg \
25+
&& rm -rf "$GNUPGHOME" \
26+
&& apt-key list | grep neurodebian
27+
28+
RUN { \
29+
echo 'deb http://neuro.debian.net/debian bionic main'; \
30+
echo 'deb http://neuro.debian.net/debian data main'; \
31+
echo '#deb-src http://neuro.debian.net/debian-devel bionic main'; \
32+
} > /etc/apt/sources.list.d/neurodebian.sources.list
33+
34+
# Minimalistic package to assist with freezing the APT configuration
35+
# which would be coming from neurodebian repo.
36+
# Also install and enable eatmydata to be used for all apt-get calls
37+
# to speed up docker builds.
38+
RUN set -x \
39+
&& apt-get update \
40+
&& apt-get install -y --no-install-recommends neurodebian-freeze eatmydata \
41+
&& ln -s /usr/bin/eatmydata /usr/local/bin/apt-get \
42+
&& rm -rf /var/lib/apt/lists/*
43+
44+
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Build #: +1
2+
FROM debian:bookworm
3+
4+
# https://bugs.debian.org/830696 (apt uses gpgv by default in newer releases, rather than gpg)
5+
RUN set -x \
6+
&& apt-get update \
7+
&& { \
8+
which gpg \
9+
|| apt-get install -y --no-install-recommends gnupg \
10+
; } \
11+
# Ubuntu includes "gnupg" (not "gnupg2", but still 2.x), but not dirmngr, and gnupg 2.x requires dirmngr
12+
# so, if we're not running gnupg 1.x, explicitly install dirmngr too
13+
&& { \
14+
gpg --version | grep -q '^gpg (GnuPG) 1\.' \
15+
|| apt-get install -y --no-install-recommends dirmngr \
16+
; } \
17+
&& rm -rf /var/lib/apt/lists/*
18+
19+
# apt-key is a bit finicky during "docker build" with gnupg 2.x, so install the repo key the same way debian-archive-keyring does (/etc/apt/trusted.gpg.d)
20+
# this makes "apt-key list" output prettier too!
21+
RUN set -x \
22+
&& export GNUPGHOME="$(mktemp -d)" \
23+
&& gpg --batch --keyserver keyserver.ubuntu.com --recv-keys DD95CC430502E37EF840ACEEA5D32F012649A5A9 \
24+
&& gpg --batch --export DD95CC430502E37EF840ACEEA5D32F012649A5A9 > /etc/apt/trusted.gpg.d/neurodebian.gpg \
25+
&& rm -rf "$GNUPGHOME" \
26+
&& apt-key list | grep neurodebian
27+
28+
RUN { \
29+
echo 'deb http://neuro.debian.net/debian bookworm main'; \
30+
echo 'deb http://neuro.debian.net/debian data main'; \
31+
echo '#deb-src http://neuro.debian.net/debian-devel bookworm main'; \
32+
} > /etc/apt/sources.list.d/neurodebian.sources.list
33+
34+
# Minimalistic package to assist with freezing the APT configuration
35+
# which would be coming from neurodebian repo.
36+
# Also install and enable eatmydata to be used for all apt-get calls
37+
# to speed up docker builds.
38+
RUN set -x \
39+
&& apt-get update \
40+
&& apt-get install -y --no-install-recommends neurodebian-freeze eatmydata \
41+
&& ln -s /usr/bin/eatmydata /usr/local/bin/apt-get \
42+
&& rm -rf /var/lib/apt/lists/*
43+
44+
RUN [ -e /etc/apt/sources.list.d/debian.sources ] && srcs=/etc/apt/sources.list.d/debian.sources || srcs=/etc/apt/sources.list; sed -i -e 's,main *$,main contrib non-free,g' /etc/apt/sources.list.d/neurodebian.sources.list $srcs

dockerfiles/bookworm/Dockerfile

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Build #: +1
2+
FROM debian:bookworm
3+
4+
# https://bugs.debian.org/830696 (apt uses gpgv by default in newer releases, rather than gpg)
5+
RUN set -x \
6+
&& apt-get update \
7+
&& { \
8+
which gpg \
9+
|| apt-get install -y --no-install-recommends gnupg \
10+
; } \
11+
# Ubuntu includes "gnupg" (not "gnupg2", but still 2.x), but not dirmngr, and gnupg 2.x requires dirmngr
12+
# so, if we're not running gnupg 1.x, explicitly install dirmngr too
13+
&& { \
14+
gpg --version | grep -q '^gpg (GnuPG) 1\.' \
15+
|| apt-get install -y --no-install-recommends dirmngr \
16+
; } \
17+
&& rm -rf /var/lib/apt/lists/*
18+
19+
# apt-key is a bit finicky during "docker build" with gnupg 2.x, so install the repo key the same way debian-archive-keyring does (/etc/apt/trusted.gpg.d)
20+
# this makes "apt-key list" output prettier too!
21+
RUN set -x \
22+
&& export GNUPGHOME="$(mktemp -d)" \
23+
&& gpg --batch --keyserver keyserver.ubuntu.com --recv-keys DD95CC430502E37EF840ACEEA5D32F012649A5A9 \
24+
&& gpg --batch --export DD95CC430502E37EF840ACEEA5D32F012649A5A9 > /etc/apt/trusted.gpg.d/neurodebian.gpg \
25+
&& rm -rf "$GNUPGHOME" \
26+
&& apt-key list | grep neurodebian
27+
28+
RUN { \
29+
echo 'deb http://neuro.debian.net/debian bookworm main'; \
30+
echo 'deb http://neuro.debian.net/debian data main'; \
31+
echo '#deb-src http://neuro.debian.net/debian-devel bookworm main'; \
32+
} > /etc/apt/sources.list.d/neurodebian.sources.list
33+
34+
# Minimalistic package to assist with freezing the APT configuration
35+
# which would be coming from neurodebian repo.
36+
# Also install and enable eatmydata to be used for all apt-get calls
37+
# to speed up docker builds.
38+
RUN set -x \
39+
&& apt-get update \
40+
&& apt-get install -y --no-install-recommends neurodebian-freeze eatmydata \
41+
&& ln -s /usr/bin/eatmydata /usr/local/bin/apt-get \
42+
&& rm -rf /var/lib/apt/lists/*
43+
44+
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Build #: +1
2+
FROM debian:bullseye
3+
4+
# https://bugs.debian.org/830696 (apt uses gpgv by default in newer releases, rather than gpg)
5+
RUN set -x \
6+
&& apt-get update \
7+
&& { \
8+
which gpg \
9+
|| apt-get install -y --no-install-recommends gnupg \
10+
; } \
11+
# Ubuntu includes "gnupg" (not "gnupg2", but still 2.x), but not dirmngr, and gnupg 2.x requires dirmngr
12+
# so, if we're not running gnupg 1.x, explicitly install dirmngr too
13+
&& { \
14+
gpg --version | grep -q '^gpg (GnuPG) 1\.' \
15+
|| apt-get install -y --no-install-recommends dirmngr \
16+
; } \
17+
&& rm -rf /var/lib/apt/lists/*
18+
19+
# apt-key is a bit finicky during "docker build" with gnupg 2.x, so install the repo key the same way debian-archive-keyring does (/etc/apt/trusted.gpg.d)
20+
# this makes "apt-key list" output prettier too!
21+
RUN set -x \
22+
&& export GNUPGHOME="$(mktemp -d)" \
23+
&& gpg --batch --keyserver keyserver.ubuntu.com --recv-keys DD95CC430502E37EF840ACEEA5D32F012649A5A9 \
24+
&& gpg --batch --export DD95CC430502E37EF840ACEEA5D32F012649A5A9 > /etc/apt/trusted.gpg.d/neurodebian.gpg \
25+
&& rm -rf "$GNUPGHOME" \
26+
&& apt-key list | grep neurodebian
27+
28+
RUN { \
29+
echo 'deb http://neuro.debian.net/debian bullseye main'; \
30+
echo 'deb http://neuro.debian.net/debian data main'; \
31+
echo '#deb-src http://neuro.debian.net/debian-devel bullseye main'; \
32+
} > /etc/apt/sources.list.d/neurodebian.sources.list
33+
34+
# Minimalistic package to assist with freezing the APT configuration
35+
# which would be coming from neurodebian repo.
36+
# Also install and enable eatmydata to be used for all apt-get calls
37+
# to speed up docker builds.
38+
RUN set -x \
39+
&& apt-get update \
40+
&& apt-get install -y --no-install-recommends neurodebian-freeze eatmydata \
41+
&& ln -s /usr/bin/eatmydata /usr/local/bin/apt-get \
42+
&& rm -rf /var/lib/apt/lists/*
43+
44+
RUN [ -e /etc/apt/sources.list.d/debian.sources ] && srcs=/etc/apt/sources.list.d/debian.sources || srcs=/etc/apt/sources.list; sed -i -e 's,main *$,main contrib non-free,g' /etc/apt/sources.list.d/neurodebian.sources.list $srcs

dockerfiles/bullseye/Dockerfile

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Build #: +1
2+
FROM debian:bullseye
3+
4+
# https://bugs.debian.org/830696 (apt uses gpgv by default in newer releases, rather than gpg)
5+
RUN set -x \
6+
&& apt-get update \
7+
&& { \
8+
which gpg \
9+
|| apt-get install -y --no-install-recommends gnupg \
10+
; } \
11+
# Ubuntu includes "gnupg" (not "gnupg2", but still 2.x), but not dirmngr, and gnupg 2.x requires dirmngr
12+
# so, if we're not running gnupg 1.x, explicitly install dirmngr too
13+
&& { \
14+
gpg --version | grep -q '^gpg (GnuPG) 1\.' \
15+
|| apt-get install -y --no-install-recommends dirmngr \
16+
; } \
17+
&& rm -rf /var/lib/apt/lists/*
18+
19+
# apt-key is a bit finicky during "docker build" with gnupg 2.x, so install the repo key the same way debian-archive-keyring does (/etc/apt/trusted.gpg.d)
20+
# this makes "apt-key list" output prettier too!
21+
RUN set -x \
22+
&& export GNUPGHOME="$(mktemp -d)" \
23+
&& gpg --batch --keyserver keyserver.ubuntu.com --recv-keys DD95CC430502E37EF840ACEEA5D32F012649A5A9 \
24+
&& gpg --batch --export DD95CC430502E37EF840ACEEA5D32F012649A5A9 > /etc/apt/trusted.gpg.d/neurodebian.gpg \
25+
&& rm -rf "$GNUPGHOME" \
26+
&& apt-key list | grep neurodebian
27+
28+
RUN { \
29+
echo 'deb http://neuro.debian.net/debian bullseye main'; \
30+
echo 'deb http://neuro.debian.net/debian data main'; \
31+
echo '#deb-src http://neuro.debian.net/debian-devel bullseye main'; \
32+
} > /etc/apt/sources.list.d/neurodebian.sources.list
33+
34+
# Minimalistic package to assist with freezing the APT configuration
35+
# which would be coming from neurodebian repo.
36+
# Also install and enable eatmydata to be used for all apt-get calls
37+
# to speed up docker builds.
38+
RUN set -x \
39+
&& apt-get update \
40+
&& apt-get install -y --no-install-recommends neurodebian-freeze eatmydata \
41+
&& ln -s /usr/bin/eatmydata /usr/local/bin/apt-get \
42+
&& rm -rf /var/lib/apt/lists/*
43+
44+
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Build #: +1
2+
FROM debian:buster
3+
4+
# https://bugs.debian.org/830696 (apt uses gpgv by default in newer releases, rather than gpg)
5+
RUN set -x \
6+
&& apt-get update \
7+
&& { \
8+
which gpg \
9+
|| apt-get install -y --no-install-recommends gnupg \
10+
; } \
11+
# Ubuntu includes "gnupg" (not "gnupg2", but still 2.x), but not dirmngr, and gnupg 2.x requires dirmngr
12+
# so, if we're not running gnupg 1.x, explicitly install dirmngr too
13+
&& { \
14+
gpg --version | grep -q '^gpg (GnuPG) 1\.' \
15+
|| apt-get install -y --no-install-recommends dirmngr \
16+
; } \
17+
&& rm -rf /var/lib/apt/lists/*
18+
19+
# apt-key is a bit finicky during "docker build" with gnupg 2.x, so install the repo key the same way debian-archive-keyring does (/etc/apt/trusted.gpg.d)
20+
# this makes "apt-key list" output prettier too!
21+
RUN set -x \
22+
&& export GNUPGHOME="$(mktemp -d)" \
23+
&& gpg --batch --keyserver keyserver.ubuntu.com --recv-keys DD95CC430502E37EF840ACEEA5D32F012649A5A9 \
24+
&& gpg --batch --export DD95CC430502E37EF840ACEEA5D32F012649A5A9 > /etc/apt/trusted.gpg.d/neurodebian.gpg \
25+
&& rm -rf "$GNUPGHOME" \
26+
&& apt-key list | grep neurodebian
27+
28+
RUN { \
29+
echo 'deb http://neuro.debian.net/debian buster main'; \
30+
echo 'deb http://neuro.debian.net/debian data main'; \
31+
echo '#deb-src http://neuro.debian.net/debian-devel buster main'; \
32+
} > /etc/apt/sources.list.d/neurodebian.sources.list
33+
34+
# Minimalistic package to assist with freezing the APT configuration
35+
# which would be coming from neurodebian repo.
36+
# Also install and enable eatmydata to be used for all apt-get calls
37+
# to speed up docker builds.
38+
RUN set -x \
39+
&& apt-get update \
40+
&& apt-get install -y --no-install-recommends neurodebian-freeze eatmydata \
41+
&& ln -s /usr/bin/eatmydata /usr/local/bin/apt-get \
42+
&& rm -rf /var/lib/apt/lists/*
43+
44+
RUN [ -e /etc/apt/sources.list.d/debian.sources ] && srcs=/etc/apt/sources.list.d/debian.sources || srcs=/etc/apt/sources.list; sed -i -e 's,main *$,main contrib non-free,g' /etc/apt/sources.list.d/neurodebian.sources.list $srcs

dockerfiles/buster/Dockerfile

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Build #: +1
2+
FROM debian:buster
3+
4+
# https://bugs.debian.org/830696 (apt uses gpgv by default in newer releases, rather than gpg)
5+
RUN set -x \
6+
&& apt-get update \
7+
&& { \
8+
which gpg \
9+
|| apt-get install -y --no-install-recommends gnupg \
10+
; } \
11+
# Ubuntu includes "gnupg" (not "gnupg2", but still 2.x), but not dirmngr, and gnupg 2.x requires dirmngr
12+
# so, if we're not running gnupg 1.x, explicitly install dirmngr too
13+
&& { \
14+
gpg --version | grep -q '^gpg (GnuPG) 1\.' \
15+
|| apt-get install -y --no-install-recommends dirmngr \
16+
; } \
17+
&& rm -rf /var/lib/apt/lists/*
18+
19+
# apt-key is a bit finicky during "docker build" with gnupg 2.x, so install the repo key the same way debian-archive-keyring does (/etc/apt/trusted.gpg.d)
20+
# this makes "apt-key list" output prettier too!
21+
RUN set -x \
22+
&& export GNUPGHOME="$(mktemp -d)" \
23+
&& gpg --batch --keyserver keyserver.ubuntu.com --recv-keys DD95CC430502E37EF840ACEEA5D32F012649A5A9 \
24+
&& gpg --batch --export DD95CC430502E37EF840ACEEA5D32F012649A5A9 > /etc/apt/trusted.gpg.d/neurodebian.gpg \
25+
&& rm -rf "$GNUPGHOME" \
26+
&& apt-key list | grep neurodebian
27+
28+
RUN { \
29+
echo 'deb http://neuro.debian.net/debian buster main'; \
30+
echo 'deb http://neuro.debian.net/debian data main'; \
31+
echo '#deb-src http://neuro.debian.net/debian-devel buster main'; \
32+
} > /etc/apt/sources.list.d/neurodebian.sources.list
33+
34+
# Minimalistic package to assist with freezing the APT configuration
35+
# which would be coming from neurodebian repo.
36+
# Also install and enable eatmydata to be used for all apt-get calls
37+
# to speed up docker builds.
38+
RUN set -x \
39+
&& apt-get update \
40+
&& apt-get install -y --no-install-recommends neurodebian-freeze eatmydata \
41+
&& ln -s /usr/bin/eatmydata /usr/local/bin/apt-get \
42+
&& rm -rf /var/lib/apt/lists/*
43+
44+

0 commit comments

Comments
 (0)