Sign inSign up

splascope/review

By splascope

•Updated over 5 years ago

Image
0

244

splascope/review repository overview

⁠review-docker

rake⁠ executable via Docker

⁠Install

  1. Build image
$ git clone https://github.com/k-ishigaki/review-docker.git
$ cd review-docker
$ docker build .
  1. Prepare script file
$ echo 'docker exec -i --workdir $(pwd) review_container rake $@' > ~/.local/bin/rake
$ sudo chmod +x ~/.local/bin/rake
  1. Prepare $PATH
    Example of Ubuntu
$ echo 'export PATH=$PATH:$HOME/.local/bin' >> ~/.profile
$ source ~/.profile

⁠Usage

  1. Run Docker container in background (Once after reboot) note: <host_dir> and <container_mount_dir> must be same.
$ docker run -it -d \
        --name review_container \
        --mount type=bind,source=<host_dir>,target=<container_mount_dir> \
        <image_id>
  1. Execute rake!
$ rake

Tag summary

Content type

Image

Digest

Size

990.8 MB

Last updated

over 5 years ago

docker pull splascope/review