Skip to content

Commit

Permalink
Merge branch 'docker' of github.com:cgeller/scenario_runner into docker
Browse files Browse the repository at this point in the history
  • Loading branch information
cgeller committed Dec 21, 2023
2 parents 84e1a7e + c89ada4 commit e0b7b71
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ USER root
SHELL ["/bin/bash", "-c"]

ARG CARLA_API_PATH=/opt/carla/PythonAPI
ARG SCENARIO_RUNNER_PATH=/opt/carla/scenario-runner
ARG SCENARIO_RUNNER_PATH=/opt/carla/carla-scenario-runner

# Install essentials
RUN apt-get update && \
Expand All @@ -26,8 +26,8 @@ RUN apt-get update && \
RUN pip3 install --upgrade pip
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 10

# Install scenario-runner
COPY ./scenario-runner $SCENARIO_RUNNER_PATH
# Install carla-scenario-runner
COPY ./carla-scenario-runner $SCENARIO_RUNNER_PATH
RUN pip3 install -r $SCENARIO_RUNNER_PATH/requirements.txt

# Move over PythonAPI
Expand Down Expand Up @@ -59,7 +59,7 @@ ENV WORKSPACE=${WORKSPACE}
WORKDIR ${WORKSPACE}

# Set entrypoint
COPY ./scenario-runner/docker/entrypoint.sh /
COPY ./carla-scenario-runner/docker/entrypoint.sh /
ENTRYPOINT [ "/entrypoint.sh" ]

CMD [ "python3", "scenario_runner.py", "--help" ]

0 comments on commit e0b7b71

Please sign in to comment.