nginx-ingress-controller: update Dockerfile for dropped privileges in nginx-slim

This commit is contained in:
Jonathan Pulsifer 2017-06-19 10:20:22 -04:00
parent 7935bf2e05
commit a79d82dd5a
No known key found for this signature in database
GPG key ID: 0472D3B3F5012430

View file

@ -12,8 +12,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
FROM gcr.io/google_containers/nginx-slim-amd64:0.18
FROM gcr.io/google_containers/nginx-slim-amd64:0.19
USER root
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y \
diffutils \
--no-install-recommends \
@ -26,4 +27,5 @@ ENTRYPOINT ["/sbin/tini", "--"]
COPY . /
USER nginx
CMD ["/nginx-ingress-controller"]