mirror of
https://github.com/servo/servo
synced 2026-05-08 16:12:15 +02:00
35 lines
902 B
Docker
35 lines
902 B
Docker
FROM ubuntu:bionic-20200403
|
|
|
|
ENV \
|
|
#
|
|
# Some APT packages like 'tzdata' wait for user input on install by default.
|
|
# https://stackoverflow.com/questions/44331836/apt-get-install-tzdata-noninteractive
|
|
DEBIAN_FRONTEND=noninteractive
|
|
|
|
RUN \
|
|
apt-get update -q && \
|
|
apt-get install -qy --no-install-recommends \
|
|
#
|
|
# Cloning the repository
|
|
git \
|
|
ca-certificates \
|
|
#
|
|
# Running mach with Python 2
|
|
python \
|
|
python-pip \
|
|
python-dev \
|
|
python-virtualenv \
|
|
#
|
|
# Running mach with Python 3
|
|
python3 \
|
|
python3-pip \
|
|
python3-dev \
|
|
virtualenv \
|
|
#
|
|
# Compiling C modules when installing Python packages in a virtualenv
|
|
gcc \
|
|
#
|
|
# Installing rustup and sccache (build dockerfile) or fetching build artifacts (run tasks)
|
|
curl
|
|
|