Commit dc771e9d authored by Prada Sarasola, Miguel's avatar Prada Sarasola, Miguel
Browse files

TMP layout of deployment script and dockerfile using comments

parent 07bf329d
FROM industrial_ci_image
COPY ./ros_entrypoint.bash /
ENTRYPOINT ["/ros_entrypoint.bash"]
CMD ["bash"]
set -e
# setup application environment
source "/root/catkin_ws/install/setup.bash"
exec "$@"
set -e
cd $(mktemp -d)
# download deployment files
wget foo/bar/Dockerfile
wget foo/bar/ros_entrypoint.bash
# build deployment image
docker build -t ${CI_PROJECT_NAME}:${CI_COMMIT_REF_NAME} .
# push deployment dockerfile
set -e
rm -rf /root/catkin_ws/build /root/catkin_ws/devel /root/catkin_ws/src /root/ici /root/src
# Unset env vars?
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment