Skip to content

Commit

Permalink
Fix /opt/carma folders merged into 1 folder (#209)
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
MishkaMN authored Oct 31, 2024
1 parent a8dd4f5 commit d9820b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions humble/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ RUN pip3 install --no-cache-dir vcstool setuptools pybind11
# Install Java 17
RUN apt-get update && apt-get install -y openjdk-17-jdk

# Clean
# Clean
RUN rm -rf /var/lib/apt/lists/*

# Install SonarQube scanner
Expand All @@ -65,7 +65,7 @@ RUN useradd -m carma && \
chmod 0440 /etc/sudoers.d/carma && \
usermod --uid 1000 carma && \
groupmod --gid 1000 carma && \
mkdir -p /opt/carma/{launch,logs,routes} && \
mkdir -p /opt/carma/launch /opt/carma/logs /opt/carma/routes && \
chown carma:carma -R /opt/carma

# Copy files for carma user
Expand Down Expand Up @@ -93,4 +93,4 @@ USER carma
WORKDIR /home/carma

# Set the entrypoint
ENTRYPOINT ["/bin/bash"]
ENTRYPOINT ["/bin/bash"]
2 changes: 1 addition & 1 deletion noetic-foxy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ RUN useradd -m carma && \
chmod 0440 /etc/sudoers.d/carma && \
usermod --uid 1000 carma && \
groupmod --gid 1000 carma && \
mkdir -p /opt/carma/{launch,logs,routes} && \
mkdir -p /opt/carma/launch /opt/carma/logs /opt/carma/routes && \
chown carma:carma -R /opt/carma

COPY --chown=carma ${DOCKERFILE_DIR}/package.xml /home/carma/.base-image/workspace/src/carma_base/
Expand Down

0 comments on commit d9820b7

Please sign in to comment.