I have built a docker image with Centos7 as base image.
I pushed my image to a public repository in hub.docker.com.
How do I run this image in circleCI 2.0?
I have a .circleci/config.yml that has:
jobs: centos_py2_miniconda: docker: - image: muryanto1/mycentos7:mycentos7withgit environment: WORKDIR: "workspace" PYTHON_VERSION: 'py2' steps: - run: date '+%Y-%m-%d' - run: uname -a - run: cat /proc/version
When I ran my workflow, I see ‘cat /proc/version’ is showing Ubuntu instead of CentOS.
Can someone point me what I should do to run commands/steps in my docker image?
Note that I will not be running any docker command in my steps.