Skip to content
This repository was archived by the owner on Dec 4, 2024. It is now read-only.

Update testing infrastructure #609

Merged
merged 3 commits into from
Feb 28, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
.git
build.bash
tests
requirements-dev.txt
hooks
scripts
.*
Dockerfile
Makefile
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.idea
templates/
__pycache__
.pytest_cache
*.pyc
.env
.cache
Expand Down
37 changes: 37 additions & 0 deletions Dockerfile.devkit
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
FROM debian:buster

ENV LANG=C.UTF-8

RUN set -x \
&& apt-get update \
&& apt-get install -y --no-install-recommends \
ca-certificates \
docker.io \
gcc \
git \
jq \
libcurl4-openssl-dev \
libssl-dev \
python3-dev \
python3-pip \
python3-setuptools

COPY requirements-dev.txt /marathon-lb/requirements-dev.txt
COPY requirements.txt /marathon-lb/requirements.txt

# NOTE(jkoelker) dcos-e2e has a large list of strict requrements (== vs >=)
# that creates conflicts preventing the command line from
# running. By installing it in its own pip transaction, then
# allowing subsequent pip to use the existing requirements
# (no --upgrade or --force-reinstall) the command line is
# available
RUN set -x \
&& pip3 install \
--no-cache \
--upgrade \
https://github.com/dcos/dcos-e2e/archive/2018.12.10.0.zip \
&& pip3 install \
--no-cache \
-r /marathon-lb/requirements-dev.txt

CMD ["/bin/bash"]
Loading