Last active
May 30, 2020 08:50
-
-
Save justinhennessy/f8dffdf27f9c237a949360332111b96f to your computer and use it in GitHub Desktop.
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
# Use an official centos | |
FROM centos:7 | |
# Set the working directory to /working | |
WORKDIR /working | |
RUN yum -y update | |
RUN yum -y install yum-utils groupinstall development | |
RUN yum -y install https://centos7.iuscommunity.org/ius-release.rpm | |
RUN yum -y install python36u | |
RUN yum -y install python36u-pip | |
RUN yum -y install python36u-devel | |
RUN yum -y install zip build-essential libssl-dev libffi-dev vim \ | |
&& echo 'alias python=python3.6' >> ~/.bash_aliases \ | |
&& echo 'alias pip=pip3.6' >> ~/.bash_aliases \ | |
&& echo 'source ~/.bash_aliases' >> ~/.bashrc | |
ENTRYPOINT ["/bin/bash", "-c", "bin/bundle"] | |
CMD ["bash"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment