Skip to content

Commit

Permalink
Add doesn't consider USER directives so use --chown flag.
Browse files Browse the repository at this point in the history
  • Loading branch information
nuclearsandwich committed Mar 16, 2024
1 parent b5bf111 commit d6a4fa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ros_buildfarm/templates/doc/rosdoc2_task.Dockerfile.em
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ RUN echo "@today_str"

RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y -o Debug::pkgProblemResolver=yes build-essential python3-catkin-pkg-modules doxygen graphviz openssh-client python3 python3-yaml python3-pip rsync

COPY --chown=@uid:@uid rosdoc2 /tmp/rosdoc2
USER buildfarm
COPY rosdoc2 /tmp/rosdoc2
ENTRYPOINT ["sh", "-c"]
@{
cmd = 'PYTHONPATH=/tmp/ros_buildfarm:$PYTHONPATH python3 -u' + \
Expand Down

0 comments on commit d6a4fa7

Please sign in to comment.