servo/tests/wpt/web-platform-tests/tools/docker/github/Dockerfile

29 lines
580 B
Docker

FROM ubuntu:18.04
# No interactive frontend during docker build
ENV DEBIAN_FRONTEND=noninteractive \
DEBCONF_NONINTERACTIVE_SEEN=true
RUN apt-get -qqy update \
&& apt-get -qqy install \
bzip2 \
git \
locales \
python \
python-pip \
tzdata \
zstd
RUN pip install --upgrade pip
RUN pip install virtualenv
RUN pip install requests
ENV TZ "UTC"
RUN echo "${TZ}" > /etc/timezone \
&& dpkg-reconfigure --frontend noninteractive tzdata
# Set the locale
RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8