Skip to content

Instantly share code, notes, and snippets.

@justinhennessy
Last active May 30, 2020 08:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save justinhennessy/f8dffdf27f9c237a949360332111b96f to your computer and use it in GitHub Desktop.
Save justinhennessy/f8dffdf27f9c237a949360332111b96f to your computer and use it in GitHub Desktop.
# 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