Skip to content

Commit b4c171b

Browse files
authored
ci(dockerfile): bake acados env vars to the images (#6860)
Signed-off-by: Mete Fatih Cırıt <mfc@autoware.org>
1 parent 0673a4c commit b4c171b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

docker/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,10 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
250250
ARG ROS_DISTRO
251251
ENV CCACHE_DIR="/root/.ccache"
252252

253+
ENV CMAKE_PREFIX_PATH="/opt/acados:${CMAKE_PREFIX_PATH}"
254+
ENV ACADOS_SOURCE_DIR="/opt/acados"
255+
ENV LD_LIBRARY_PATH="/opt/acados/lib:${LD_LIBRARY_PATH}"
256+
253257
# Install rosdep dependencies
254258
COPY --from=rosdep-depend /rosdep-universe-common-depend-packages.txt /tmp/rosdep-universe-common-depend-packages.txt
255259
# hadolint ignore=SC2002,DL3009

0 commit comments

Comments
 (0)