Dockerfile for running tests on Bitbucket Pipelines for a Rails app.
https://hub.docker.com/r/mapreal19/refden-ci
- Build your image:
docker build -t mapreal19/refden-ci .
- Use
--no-cache
for updating deps:docker build -t mapreal19/refden-ci --no-cache --platform linux/amd64 .
- Push to DockerHub:
docker push mapreal19/refden-ci
docker run -i -t -v <local_directoy_of_your_rails_app>:<directory_on_docker> mapreal19/refden-ci /bin/bash