Skip to content

Commit

Permalink
Remove container user
Browse files Browse the repository at this point in the history
  • Loading branch information
doganulus committed Jul 20, 2024
1 parent d365dc9 commit 3a4098a
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -153,13 +153,8 @@ RUN --mount=type=bind,from=autoware-source,source=${AUTOWARE_SOURCE_DIR},target=
&& rm -rf ${AUTOWARE_INSTALL_DIR} \
&& du -h --max-depth=0 ${CCACHE_DIR}

USER bounverif
WORKDIR /home/bounverif

FROM autoware-builder-with-cache AS autoware-prebuilt

USER root

COPY autoware.repos.yml /var/lib/autoware/autoware.repos.${AUTOWARE_VERSION}.yml

RUN mkdir -p ${AUTOWARE_SOURCE_DIR} && vcs import --shallow ${AUTOWARE_SOURCE_DIR} < /var/lib/autoware/autoware.repos.${AUTOWARE_VERSION}.yml \
Expand All @@ -186,9 +181,6 @@ RUN mkdir -p ${AUTOWARE_SOURCE_DIR} && vcs import --shallow ${AUTOWARE_SOURCE_DI
&& rm -rf ${AUTOWARE_SOURCE_DIR} \
&& rm -rf ${AUTOWARE_BUILD_DIR} \
&& ccache -v --show-stats

USER bounverif
WORKDIR /home/bounverif

FROM autoware-base AS autoware-runtime

Expand Down

0 comments on commit 3a4098a

Please sign in to comment.