Skip to content

Commit cbb57b6

Browse files
committed
grant sudo access to pyth user
1 parent 0a614b6 commit cbb57b6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docker/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@ ARG SOLANA_VERSION
33
FROM solanalabs/solana:v${SOLANA_VERSION}
44

55
RUN apt-get update
6-
RUN apt-get install -y cmake curl g++ git libzstd1 libzstd-dev zlib1g zlib1g-dev
6+
RUN apt-get install -y cmake curl g++ git libzstd1 libzstd-dev sudo zlib1g zlib1g-dev
7+
8+
# Grant sudo access to pyth user
9+
RUN echo "pyth ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
710

811
RUN useradd -m pyth
912
USER pyth

0 commit comments

Comments
 (0)