Files
firefox/testing/web-platform/tests/tools/docker/github/Dockerfile
T
Sam Sneddon f4f5144e5f Bug 1539649 [wpt PR 16083] - Upload MANIFEST.json.bz2 and MANIFEST.json.zst, a=testonly
Automatic update from web-platform-tests
Upload MANIFEST.json.bz2 and MANIFEST.json.zst (#16083)

The first half of #16081.

zstandard has the best compression ratio and fast decoding. bzip2 has good compression
and very slow decoding. gzip has poor compression and fast decoding. Overall zstandard
is alway the best to download + decompress, but relies on a third party Python package.
gzip is always the worst unless network is very fast and CPU very slow. So in the future
we will move to zstandard where possible and bzip2 where not possible.
--

wpt-commits: d5921ca1198a8f3ddbecd8392c1dada9c4aa8fbc
wpt-pr: 16083
2019-04-24 11:31:10 +01:00

30 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