File: Dockerfile

package info (click to toggle)
asciinema 2.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 392 kB
  • sloc: python: 1,304; sh: 53; makefile: 35
file content (20 lines) | stat: -rw-r--r-- 505 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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"]