Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the ENTRYPOINT source actually work #669

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions Dockerfile_ros1_16_04
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,10 @@ RUN cd $WORKSPACE &&\
# When a user runs a command we will run this code before theirs
# This will allow for using the manual focal length if it fails to init
# https://github.com/ethz-asl/kalibr/pull/346
ENTRYPOINT export KALIBR_MANUAL_FOCAL_LENGTH_INIT=1 && \
# /bin/bash -c "source \"$WORKSPACE/devel/setup.bash\"" && \
cd $WORKSPACE && \
/bin/bash


RUN echo "export KALIBR_MANUAL_FOCAL_LENGTH_INIT=1" >> /root/.bashrc && \
echo 'source "$WORKSPACE/devel/setup.bash"' >> /root/.bashrc

ENTRYPOINT ["/bin/bash"]



Expand Down
7 changes: 3 additions & 4 deletions Dockerfile_ros1_18_04
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,10 @@ RUN cd $WORKSPACE &&\
# When a user runs a command we will run this code before theirs
# This will allow for using the manual focal length if it fails to init
# https://github.com/ethz-asl/kalibr/pull/346
ENTRYPOINT export KALIBR_MANUAL_FOCAL_LENGTH_INIT=1 && \
# /bin/bash -c "source \"$WORKSPACE/devel/setup.bash\"" && \
cd $WORKSPACE && \
/bin/bash
RUN echo "export KALIBR_MANUAL_FOCAL_LENGTH_INIT=1" >> /root/.bashrc && \
echo 'source "$WORKSPACE/devel/setup.bash"' >> /root/.bashrc

ENTRYPOINT ["/bin/bash"]



Expand Down
8 changes: 4 additions & 4 deletions Dockerfile_ros1_20_04
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ RUN cd $WORKSPACE &&\
# When a user runs a command we will run this code before theirs
# This will allow for using the manual focal length if it fails to init
# https://github.com/ethz-asl/kalibr/pull/346
ENTRYPOINT export KALIBR_MANUAL_FOCAL_LENGTH_INIT=1 && \
# /bin/bash -c "source \"$WORKSPACE/devel/setup.bash\"" && \
cd $WORKSPACE && \
/bin/bash
RUN echo "export KALIBR_MANUAL_FOCAL_LENGTH_INIT=1" >> /root/.bashrc && \
echo 'source "$WORKSPACE/devel/setup.bash"' >> /root/.bashrc

ENTRYPOINT ["/bin/bash"]



Expand Down
Loading