Skip to content

Commit

Permalink
Add chmod 755 for envoy in proxy docker rule. (istio#4222)
Browse files Browse the repository at this point in the history
* Add chmod 755 for envoy in proxy docker rule.

* Typos
  • Loading branch information
diemtvu authored and ldemailly committed Mar 13, 2018
1 parent 2b4e38b commit 04a2b6d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pilot/docker/Dockerfile.proxy
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,8 @@ COPY envoy_mixer.json /etc/istio/proxy/envoy_mixer.json
COPY envoy_mixer_auth.json /etc/istio/proxy/envoy_mixer_auth.json
COPY envoy_bootstrap_tmpl.json /var/lib/istio/envoy/envoy_bootstrap_tmpl.json

# Allow non-root user to run envoy.
RUN chmod 755 /usr/local/bin/envoy

# The pilot-agent will bootstrap Envoy.
ENTRYPOINT ["/usr/local/bin/pilot-agent"]
3 changes: 3 additions & 0 deletions pilot/docker/Dockerfile.proxy_debug
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,8 @@ RUN useradd -m --uid 1337 istio-proxy && \
echo "istio-proxy ALL=NOPASSWD: ALL" >> /etc/sudoers && \
chown -R istio-proxy /var/lib/istio

# Allow non-root user to run envoy.
RUN chmod 755 /usr/local/bin/envoy

# The pilot-agent will bootstrap Envoy.
ENTRYPOINT ["/usr/local/bin/pilot-agent"]

0 comments on commit 04a2b6d

Please sign in to comment.