mirror of
https://github.com/asciinema/asciinema.git
synced 2025-12-15 03:08:00 +01:00
Add Dockerfile
This commit is contained in:
20
Dockerfile
Normal file
20
Dockerfile
Normal file
@@ -0,0 +1,20 @@
|
||||
FROM ubuntu:16.04
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
ca-certificates \
|
||||
locales \
|
||||
python3 \
|
||||
python3-setuptools
|
||||
RUN localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
|
||||
RUN mkdir /usr/src/app
|
||||
COPY setup.cfg /usr/src/app
|
||||
COPY setup.py /usr/src/app
|
||||
COPY README.md /usr/src/app
|
||||
COPY asciinema /usr/src/app/asciinema
|
||||
WORKDIR /usr/src/app
|
||||
RUN python3 setup.py install
|
||||
ENV LANG en_US.utf8
|
||||
ENV SHELL /bin/bash
|
||||
ENV USER docker
|
||||
WORKDIR /root
|
||||
CMD ["asciinema", "rec"]
|
||||
Reference in New Issue
Block a user