Skip to content

Commit

Permalink
Fixed tesseract-ocr install
Browse files Browse the repository at this point in the history
  • Loading branch information
IliTheButterfly committed Apr 6, 2024
1 parent 3e1092c commit 5d738b8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN groupadd --gid $USER_GID $USERNAME || true \
&& groupadd -g 107 input \
&& useradd -s /bin/bash --uid $USER_UID -g $USER_GID -G 107 -m $USERNAME \
&& apt-get update \
&& apt-get install -y sudo \
&& apt-get install -y sudo tesseract-ocr \
&& echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME \
&& chmod 0440 /etc/sudoers.d/$USERNAME

Expand All @@ -29,7 +29,6 @@ USER $USERNAME
COPY ./ /workspace/$USERNAME/

# Install Tesseract
RUN apt install tesseract-ocr

# Source the ROS setup file
RUN echo "source /opt/ros/${ROS_DISTRO}/setup.bash" >> ~/.bashrc && \
Expand Down

0 comments on commit 5d738b8

Please sign in to comment.