Skip to content

Commit

Permalink
Merge pull request #20 from rmartin16/disable-sdl-audio
Browse files Browse the repository at this point in the history
Disable SDL from attempting to connect to audio
  • Loading branch information
freakboy3742 authored Feb 6, 2024
2 parents a6a6b3b + 1993ae7 commit 3ac40e5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions {{ cookiecutter.format }}/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ FROM {{ cookiecutter.docker_base_image }}
# Set the working directory
WORKDIR /app

# Disable pip's warnings
# Disable pip's warnings and SDL audio
ENV PIP_ROOT_USER_ACTION=ignore \
PIP_NO_WARN_SCRIPT_LOCATION=0
PIP_NO_WARN_SCRIPT_LOCATION=0 \
SDL_AUDIODRIVER=dummy

{% if cookiecutter.vendor_base == "debian" -%}
# Run apt non-interactively; use ARG so this only applies while building the image
Expand Down

0 comments on commit 3ac40e5

Please sign in to comment.