We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06b9758 commit 608d959Copy full SHA for 608d959
Dockerfile
@@ -13,7 +13,7 @@ VOLUME /model
13
LABEL DEPLOYMENT_TYPE=APP
14
15
RUN apt-get update && \
16
- apt-get -y install wget libgomp1 curl
+ apt-get -y install wget curl sudo
17
18
RUN wget -qO/bin/grpc_health_probe https://github.com/grpc-ecosystem/grpc-health-probe/releases/download/${GRPC_HEALTH_PROBE_VERSION}/grpc_health_probe-linux-amd64 && \
19
chmod +x /bin/grpc_health_probe
@@ -38,6 +38,7 @@ RUN useradd -u 42069 app && \
38
chown app /app && \
39
chmod +x /app/start.sh
40
41
+RUN echo "app ALL=NOPASSWD: /usr/bin/apt" > /etc/sudoers
42
USER app
43
44
CMD ["/app/start.sh"]
0 commit comments