Created
November 29, 2020 16:46
-
-
Save ojacques/359d8aeb1d23757e886888cb1825711c to your computer and use it in GitHub Desktop.
Docker container to run tests on AWS Device Farm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
```Dockerfile | |
FROM PYTHON:3.7-buster | |
RUN apt-get -qq -y update && \ | |
DEBIAN_FRONTEND=noninteractive apt-get -qq -y install \ | |
jq \ | |
curl \ | |
less \ | |
git \ | |
vim \ | |
wget \ | |
procps \ | |
zip \ | |
unzip \ | |
groff \ | |
software-properties-common | |
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \ | |
unzip awscliv2.zip && \ | |
./aws/install && \ | |
rm awscliv2.zip && \ | |
aws --version | |
VOLUME /workspace | |
RUN python -m pip install --upgrade --ignore-installed pip | |
ENTRYPOINT [ "run-tests.sh" ] | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment