mirror of
https://github.com/asciinema/asciinema.git
synced 2025-12-16 03:38:03 +01:00
PEP 563: _Postponed Evaluation of Annotations_ was introduced as __future__.annotations in Python 3.7. Since future imports are required to be unconditional, this import fails on Python 3.6. This import supports more complete type hinting, esepecially for class methods. Since Ubuntu 18.04 and CentOS 7 are the last major distros to still ship Python 3.6, drop support.
19 lines
298 B
Docker
19 lines
298 B
Docker
# syntax=docker/dockerfile:1.3
|
|
|
|
FROM docker.io/library/centos:8
|
|
|
|
RUN yum install -y epel-release && yum install -y make python39 && yum clean all
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
COPY asciinema/ asciinema/
|
|
COPY tests/ tests/
|
|
|
|
ENV LANG="en_US.utf8"
|
|
|
|
USER nobody
|
|
|
|
ENTRYPOINT ["/bin/bash"]
|
|
|
|
# vim:ft=dockerfile
|