File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ RUN groupadd --gid $USER_GID $USERNAME \
45
45
&& chmod 0440 /etc/sudoers.d/$USERNAME
46
46
47
47
USER $USERNAME
48
- WORKDIR /home/apl
48
+ WORKDIR /home/$USERNAME
49
49
50
50
CMD ["/bin/bash" ]
51
51
@@ -54,17 +54,17 @@ CMD ["/bin/bash"]
54
54
# ====================================================================
55
55
FROM ci as git_checkout
56
56
57
- ARG WS_DIR=/home/$USERNAME/ros_ws
58
- ONBUILD WORKDIR ${WS_DIR}/src
57
+ ARG WS_DIR=/home/$USERNAME
58
+ WORKDIR ${WS_DIR}
59
59
60
60
ARG LIBOCULUS_REPO=https://github.com/apl-ocean-engineering/liboculus.git
61
61
ARG LIBOCULUS_BRANCH=main
62
- ONBUILD RUN echo "Cloning from ${LIBOCULUS_BRANCH} branch ${LIBOCULUS_ROS_REPO}"
62
+ RUN echo "Cloning from ${LIBOCULUS_BRANCH} branch ${LIBOCULUS_ROS_REPO}"
63
63
64
- ONBUILD RUN git clone --depth 1 -b ${LIBOCULUS_BRANCH} ${LIBOCULUS_REPO}
64
+ RUN git clone --depth 1 -b ${LIBOCULUS_BRANCH} ${LIBOCULUS_REPO}
65
65
66
66
# ====================================================================
67
- # Final image with built ROS packages
67
+ # Final image with built fips package
68
68
# ====================================================================
69
69
# dockerfile_lint - ignore
70
70
FROM git_checkout as liboculus
You can’t perform that action at this time.
0 commit comments