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"]
#!/bin/bash
set -e
# setup application environment
source "/root/catkin_ws/install/setup.bash"
exec "$@"
#!/bin/bash
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
docker push ${CI_PROJECT_NAME}:${CI_COMMIT_REF_NAME}
#!/bin/bash
set -e
rm -rf /root/catkin_ws/build /root/catkin_ws/devel /root/catkin_ws/src /root/ici /root/src
# Unset env vars?
Markdown is supported
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