mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-31 08:25:35 +00:00
Do some more package installation in the ci image
This commit is contained in:
parent
03d19dc93f
commit
3a01938159
@ -1,3 +1,13 @@
|
|||||||
FROM debian:9
|
FROM debian:9
|
||||||
|
|
||||||
RUN apt-get --quiet update && apt-get --quiet --yes install git
|
RUN apt-get --quiet update &&
|
||||||
|
apt-get --quiet --yes install git &&
|
||||||
|
apt-get --quiet --yes install \
|
||||||
|
sudo \
|
||||||
|
build-essential \
|
||||||
|
python2.7 \
|
||||||
|
python2.7-dev \
|
||||||
|
libffi-dev \
|
||||||
|
libssl-dev \
|
||||||
|
libyaml-dev \
|
||||||
|
virtualenv
|
||||||
|
@ -15,13 +15,3 @@ mv "${PROJECT}" /tmp/project
|
|||||||
|
|
||||||
# Python build/install toolchain wants to write to the source checkout, too.
|
# Python build/install toolchain wants to write to the source checkout, too.
|
||||||
chown --recursive nobody:nogroup /tmp/project
|
chown --recursive nobody:nogroup /tmp/project
|
||||||
|
|
||||||
apt-get --quiet --yes install \
|
|
||||||
sudo \
|
|
||||||
build-essential \
|
|
||||||
python2.7 \
|
|
||||||
python2.7-dev \
|
|
||||||
libffi-dev \
|
|
||||||
libssl-dev \
|
|
||||||
libyaml-dev \
|
|
||||||
${EXTRA_PACKAGES}
|
|
||||||
|
@ -67,8 +67,6 @@ jobs:
|
|||||||
# Tell the C runtime things about character encoding (mainly to do with
|
# Tell the C runtime things about character encoding (mainly to do with
|
||||||
# filenames and argv).
|
# filenames and argv).
|
||||||
LANG: "en_US.UTF-8"
|
LANG: "en_US.UTF-8"
|
||||||
# The package name for this software varies somewhat across distros.
|
|
||||||
EXTRA_PACKAGES: "virtualenv"
|
|
||||||
# Select a tox environment to run for this job.
|
# Select a tox environment to run for this job.
|
||||||
TAHOE_LAFS_TOX_ENVIRONMENT: "coverage"
|
TAHOE_LAFS_TOX_ENVIRONMENT: "coverage"
|
||||||
# Additional arguments to pass to tox.
|
# Additional arguments to pass to tox.
|
||||||
@ -86,7 +84,7 @@ jobs:
|
|||||||
- run: &BOOTSTRAP_TEST_ENVIRONMENT
|
- run: &BOOTSTRAP_TEST_ENVIRONMENT
|
||||||
name: "Bootstrap test environment"
|
name: "Bootstrap test environment"
|
||||||
command: |
|
command: |
|
||||||
~/project/.circleci/bootstrap-test-environment.sh ~/project "${EXTRA_PACKAGES}"
|
~/project/.circleci/bootstrap-test-environment.sh ~/project
|
||||||
|
|
||||||
- restore_cache: &RESTORE_HTTP_CACHE
|
- restore_cache: &RESTORE_HTTP_CACHE
|
||||||
name: "Restoring pip HTTP cache"
|
name: "Restoring pip HTTP cache"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user