Skip to content

Commit

Permalink
Drop unnecessary use of sudo in container build (#489)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisMacNaughton authored Jan 7, 2024
1 parent 6e25e9e commit 2b4012a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN groupadd -g 1000 appuser && \
RUN apt-get update -qq && apt-get install -y git build-essential libpq-dev graphviz

# INSTALL NODE
RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$21.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list && sudo apt-get update && sudo apt-get install -yqq nodejs
RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$21.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list && apt-get update && apt-get install -yqq nodejs

RUN mkdir /eyedp

Expand Down

0 comments on commit 2b4012a

Please sign in to comment.