Skip to content

Commit

Permalink
Conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
toots committed Jul 9, 2024
1 parent 1ebf135 commit 2a6f391
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker/Dockerfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ ENV DEBIAN_FRONTEND=noninteractive
USER root

# For libfdk-aac-dev
RUN echo "deb http://deb.$OS.org/$OS $DISTRIBUTION non-free" >> /etc/apt/sources.list
RUN if [ "$OS" = "debian"]; then \
echo "deb http://deb.$OS.org/$OS $DISTRIBUTION non-free" >> /etc/apt/sources.list; \
fi

RUN \
apt-get update && \
Expand Down

0 comments on commit 2a6f391

Please sign in to comment.