Skip to content

Commit

Permalink
[indexer] Set frontend to non-interactive for container
Browse files Browse the repository at this point in the history
  • Loading branch information
kadircet committed Jul 5, 2024
1 parent 9e26439 commit 3dd568b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion indexer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ FROM ubuntu:20.04

# GitHub Authentification token.
ARG TOKEN
ARG DEBIAN_FRONTEND=noninteractive
ENV DEBIAN_FRONTEND=noninteractive
ENV GITHUB_TOKEN=$TOKEN

RUN if [ -z "$GITHUB_TOKEN" ]; then \
Expand Down Expand Up @@ -46,6 +46,7 @@ COPY prepare.sh prepare.sh
RUN chmod +x /prepare.sh

RUN echo "GITHUB_TOKEN=$GITHUB_TOKEN" >> /etc/environment
RUN echo "DEBIAN_FRONTEND=noninteractive" >> /etc/environment

COPY entry_point.sh entry_point.sh
RUN chmod +x /entry_point.sh
Expand Down

0 comments on commit 3dd568b

Please sign in to comment.