summaryrefslogtreecommitdiffstats
path: root/tests/distros/Dockerfile.fedora
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 19:59:18 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 19:59:18 +0000
commitfa60720fe95711a68dd4f1cb57fbc79fc6fc2e5c (patch)
treea8712923a49e76a6241f151af877900e056ce65d /tests/distros/Dockerfile.fedora
parentInitial commit. (diff)
downloadasciinema-fa60720fe95711a68dd4f1cb57fbc79fc6fc2e5c.tar.xz
asciinema-fa60720fe95711a68dd4f1cb57fbc79fc6fc2e5c.zip
Adding upstream version 2.4.0.upstream/2.4.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/distros/Dockerfile.fedora')
-rw-r--r--tests/distros/Dockerfile.fedora20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/distros/Dockerfile.fedora b/tests/distros/Dockerfile.fedora
new file mode 100644
index 0000000..e5abb51
--- /dev/null
+++ b/tests/distros/Dockerfile.fedora
@@ -0,0 +1,20 @@
+# syntax=docker/dockerfile:1.3
+
+# https://medium.com/nttlabs/ubuntu-21-10-and-fedora-35-do-not-work-on-docker-20-10-9-1cd439d9921
+# https://www.mail-archive.com/ubuntu-bugs@lists.ubuntu.com/msg5971024.html
+FROM registry.fedoraproject.org/fedora:34
+
+RUN dnf install -y make python3 procps && dnf clean all
+
+WORKDIR /usr/src/app
+
+COPY asciinema/ asciinema/
+COPY tests/ tests/
+
+ENV LANG="en_US.utf8"
+ENV SHELL="/bin/bash"
+
+USER nobody
+
+ENTRYPOINT ["/bin/bash"]
+# vim:ft=dockerfile