Last active
July 26, 2018 18:42
-
-
Save mnewswanger/bce3cdef8eafb1d62b203df84faedf20 to your computer and use it in GitHub Desktop.
rally-docker
This file contains 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
#!/bin/bash | |
docker build -t esrally -f dockerfile . |
This file contains 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
FROM ubuntu | |
RUN apt update | |
RUN apt install -y \ | |
git \ | |
python3-pip | |
RUN pip3 install \ | |
esrally | |
RUN useradd -d /home/esrally esrally && \ | |
mkdir /home/esrally && \ | |
chown esrally:esrally /home/esrally /usr/local/bin/esrally | |
USER esrally | |
RUN /usr/local/bin/esrally | |
ENTRYPOINT ["/usr/local/bin/esrally"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment