Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +4 -5
Dockerfile
CHANGED
@@ -52,8 +52,7 @@ RUN apk add --no-cache --virtual .build-deps \
|
|
52 |
apk add --no-cache \
|
53 |
sudo \
|
54 |
bash \
|
55 |
-
git
|
56 |
-
shadow \
|
57 |
libc6-compat \
|
58 |
doas \
|
59 |
py3-pip \
|
@@ -91,9 +90,9 @@ RUN git clone https://github.com/exa-labs/exa-mcp-server && cd exa-mcp-server
|
|
91 |
# Check the base image documentation if unsure about the default user
|
92 |
RUN echo "node ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/node && \
|
93 |
chmod 0440 /etc/sudoers.d/node
|
94 |
-
RUN usermod -aG root node
|
95 |
-
RUN usermod -aG wheel node
|
96 |
-
|
97 |
# RUN adduser node -G wheel
|
98 |
# RUN adduser node -G root
|
99 |
RUN echo 'permit nopass :wheel as root' >> /etc/doas.d/doas.conf
|
|
|
52 |
apk add --no-cache \
|
53 |
sudo \
|
54 |
bash \
|
55 |
+
git \
|
|
|
56 |
libc6-compat \
|
57 |
doas \
|
58 |
py3-pip \
|
|
|
90 |
# Check the base image documentation if unsure about the default user
|
91 |
RUN echo "node ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/node && \
|
92 |
chmod 0440 /etc/sudoers.d/node
|
93 |
+
#RUN usermod -aG root node
|
94 |
+
#RUN usermod -aG wheel node
|
95 |
+
RUN addgroup -g 1000 -S node
|
96 |
# RUN adduser node -G wheel
|
97 |
# RUN adduser node -G root
|
98 |
RUN echo 'permit nopass :wheel as root' >> /etc/doas.d/doas.conf
|