summaryrefslogtreecommitdiff
path: root/packaging/base-image/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/base-image/Dockerfile')
-rw-r--r--packaging/base-image/Dockerfile18
1 files changed, 18 insertions, 0 deletions
diff --git a/packaging/base-image/Dockerfile b/packaging/base-image/Dockerfile
new file mode 100644
index 0000000000..74257bad8d
--- /dev/null
+++ b/packaging/base-image/Dockerfile
@@ -0,0 +1,18 @@
+# The official Canonical Ubuntu Bionic image is ideal from a security perspective,
+# especially for the enterprises that we, the RabbitMQ team, have to deal with
+FROM ubuntu:20.04
+
+RUN set -eux; \
+ apt-get update; \
+ apt-get install -y lsb-release ubuntu-dbgsym-keyring; \
+ echo "deb http://ddebs.ubuntu.com $(lsb_release -cs) main restricted universe multiverse" > /etc/apt/sources.list.d/ddebs.list; \
+ echo "deb http://ddebs.ubuntu.com $(lsb_release -cs)-updates main restricted universe multiverse" >> /etc/apt/sources.list.d/ddebs.list; \
+ echo "deb http://ddebs.ubuntu.com $(lsb_release -cs)-proposed main restricted universe multiverse" >> /etc/apt/sources.list.d/ddebs.list; \
+ apt-get update; \
+ apt-get install -y --no-install-recommends \
+ # grab gosu for easy step-down from root
+ libc6-dbg \
+ libgcc-s1-dbgsym \
+ libstdc++6-dbgsym \
+ libtinfo6-dbgsym \
+ zlib1g-dbgsym