summaryrefslogtreecommitdiffstats
path: root/tests/distros/Dockerfile.ubuntu
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/distros/Dockerfile.ubuntu32
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/distros/Dockerfile.ubuntu b/tests/distros/Dockerfile.ubuntu
new file mode 100644
index 0000000..38223c2
--- /dev/null
+++ b/tests/distros/Dockerfile.ubuntu
@@ -0,0 +1,32 @@
+# syntax=docker/dockerfile:1.3
+
+FROM docker.io/library/ubuntu:20.04
+
+ENV DEBIAN_FRONTENT="noninteractive"
+
+RUN apt-get update \
+ && apt-get install -y \
+ ca-certificates \
+ locales \
+ make \
+ python3 \
+ && localedef \
+ -i en_US \
+ -c \
+ -f UTF-8 \
+ -A /usr/share/locale/locale.alias \
+ en_US.UTF-8 \
+ && rm -rf /var/lib/apt/lists/*
+
+WORKDIR /usr/src/app
+
+COPY asciinema/ asciinema/
+COPY tests/ tests/
+
+ENV LANG="en_US.utf8"
+
+USER nobody
+
+ENTRYPOINT ["/bin/bash"]
+
+# vim:ft=dockerfile