Skip to content

Commit

Permalink
Develop devel image
Browse files Browse the repository at this point in the history
  • Loading branch information
doganulus committed Jul 23, 2024
1 parent 19106d3 commit 5a32a77
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,23 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked,id=${CACHEMOUNT_PREF

COPY --from=autoware-prebuilt ${AUTOWARE_INSTALL_DIR} ${AUTOWARE_INSTALL_DIR}

FROM autoware-builder AS autoware-devel
FROM ghcr.io/bounverif/autoware:latest-builder-with-cache AS autoware-devel

# This is not complete. It is just a placeholder for the final image.
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked,id=${CACHEMOUNT_PREFIX}/var/cache/apt \
export DEBIAN_FRONTEND=noninteractive && \
apt-get update && apt-get install -y --no-install-recommends \
ansible-core ansible \
&& apt-get autoremove -y && rm -rf /var/lib/apt/lists/*

USER bounverif
WORKDIR /home/bounverif

ENV AUTOWARE_VERSION=devel
ENV AUTOWARE_SOURCE_DIR=/home/bounverif/autoware/src
ENV AUTOWARE_BUILD_DIR=/tmp/build/autoware
ENV AUTOWARE_INSTALL_DIR=/home/bounverif/autoware/install

ENV AUTOWARE_REPOSITORY_URL=https://github.com/autowarefoundation/autoware.git
ENV AUTOWARE_CORE_REPOSITORY_URL=https://github.com/autowarefoundation/autoware.core.git
ENV AUTOWARE_UNIVERSE_REPOSITORY_URL=https://github.com/autowarefoundation/autoware.universe.git

ENV NVIDIA_VISIBLE_DEVICES=all
ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility,graphics

0 comments on commit 5a32a77

Please sign in to comment.