mirror of
https://github.com/servo/servo.git
synced 2025-07-12 01:43:43 +01:00
29 lines
580 B
Docker
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
|