Using Ocean container ===================== .. _Ocean_repo prerequisite: Prerequisite ------------ Download and connect to the Ocean container. You may want to share a local directory to the Ocean container to get RPMS locally : .. code-block:: shell mkdir $HOME/my_ocean_repository docker run --rm -it -v $HOME/my_ocean_repository:/tmp/my_repo --privileged ocean-container:latest cd /root/ocean .. _Ocean_repo version selection: Choose target Ocean version ---------------------------- Ocean versions can be found by listing git repository branches : .. code-block:: shell git branch -r origin/2.9 origin/3.4 origin/3.8 Switch to the branch against you want to build : .. code-block:: shell git chekckout -b 3.8 origin/3.8 You are now ready to build your repository. .. _Ocean_repo destination selection: Setup repository destination ---------------------------- You can choose your destination repository by setting up `working_repo` parameter in the `local.conf` file inside Ocean project directory : .. code-block:: shell echo "working_repo: /tmp/my_repo" >local.conf .. _Ocean_repo add repositories: Add optional repositories -------------------------- If you need extra repositories to build your packages you can add additional repositories to Ocean by modifying local.conf: .. code-block:: shell cat >>local.conf <