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 \
4545 && chmod 0440 /etc/sudoers.d/$USERNAME
4646
4747USER $USERNAME
48- WORKDIR /home/apl
48+ WORKDIR /home/$USERNAME
4949
5050CMD ["/bin/bash" ]
5151
@@ -54,17 +54,17 @@ CMD ["/bin/bash"]
5454# ====================================================================
5555FROM ci as git_checkout
5656
57- ARG WS_DIR=/home/$USERNAME/ros_ws
58- ONBUILD WORKDIR ${WS_DIR}/src
57+ ARG WS_DIR=/home/$USERNAME
58+ WORKDIR ${WS_DIR}
5959
6060ARG LIBOCULUS_REPO=https://github.com/apl-ocean-engineering/liboculus.git
6161ARG 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}"
6363
64- ONBUILD RUN git clone --depth 1 -b ${LIBOCULUS_BRANCH} ${LIBOCULUS_REPO}
64+ RUN git clone --depth 1 -b ${LIBOCULUS_BRANCH} ${LIBOCULUS_REPO}
6565
6666# ====================================================================
67- # Final image with built ROS packages
67+ # Final image with built fips package
6868# ====================================================================
6969# dockerfile_lint - ignore
7070FROM git_checkout as liboculus
You can’t perform that action at this time.
0 commit comments