summaryrefslogtreecommitdiffstats
path: root/tests/distros/Dockerfile.ubuntu
blob: 38223c2e8ae520d8616189938121c2a0ecc51006 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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