Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add to README instructions to avoid the lengthy building process #9

Open
awesomebytes opened this issue Apr 1, 2020 · 0 comments
Open

Comments

@awesomebytes
Copy link

awesomebytes commented Apr 1, 2020

To be more friendly with your users you could be more verbose with how to use your pre-built Docker images. e.g.:

# Pull your image with the corresponding DOCKER_TAG (kinetic, melodic, kinetic_32b or melodic_32b)
docker pull softbankroboticsresearch/sbre_robot_ros_gentoo_prefix:DOCKER_TAG
# Rest of your instructions to copy the system to the robot

You can also add somewhere that they can use your images as cache if they want to build extra stuff starting from your Dockerfile avoiding the lengthy process too.

# Add your changes to the Dockerfile (preferably after the end to be able to re-use the cache)

# Pull your image with the corresponding DOCKER_TAG (kinetic, melodic, kinetic_32b or melodic_32b)
docker pull softbankroboticsresearch/sbre_robot_ros_gentoo_prefix:DOCKER_TAG
# Build using the cache from that image
docker build --network host -f Dockerfile --cache-from softbankroboticsresearch/sbre_robot_ros_gentoo_prefix:DOCKER_TAG -t NAME_OF_CUSTOM_IMAGE .

Good job though! Advertise this project more :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant