forked from rcbops/rpc-gating
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile.standard_job
23 lines (23 loc) · 1.3 KB
/
Dockerfile.standard_job
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
ARG BASE_IMAGE=ubuntu:16.04
FROM ${BASE_IMAGE}
COPY scripts/reconfigure_apt_sources.sh /reconfigure_apt_sources.sh
RUN chmod +x /reconfigure_apt_sources.sh
RUN /reconfigure_apt_sources.sh
# Packages required:
# bzip2: for log artifact compression
# curl: for downloading the rpc-gating venv
# git-core: for git cloning
# libxml2-utils: for lint checking junit xml results before uploading them
# openssh-client: for running ssh-keyscan against the repo
# python-minimal: for replacing the python in the rpc-gating venv
# python-pip: used commonly by tests
# python-virtualenv: required in order to prepare the rpc-gating virtualenv
# python-yaml: required by ansible when running rpc-gating playbooks
# python-minimal: for replacing the python in the rpc-gating venv
# python3-pip: used commonly by tests
# python3-virtualenv: required in order to prepare the rpc-gating virtualenv
# python3-yaml: required by ansible when running rpc-gating playbooks
# sudo: used commonly by tests
# virtualenv: required in order to prepare the rpc-gating virtualenv
RUN apt-get update && apt-get install -y bzip2 curl git-core libxml2-utils openssh-client python-minimal python-pip python-virtualenv python-yaml python3-minimal python3-pip python3-virtualenv python3-yaml sudo virtualenv
RUN pip install --upgrade pip