UNCLASSIFIED

Commit a0c489a9 authored by gavin.scallon's avatar gavin.scallon
Browse files

Useradd

parent b666b0b4
......@@ -11,8 +11,8 @@ ARG IMAGE_VERSION=1.5.4
# Copy proxyv2 contents to base image
FROM opensource/istio/proxyv2/proxyv2:1.5.4 AS base
FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG}
# FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG}
FROM localhost/redhat/ubi/ubi8:8.2
COPY --from=base /sbin/xtables-multi /sbin/iptables* /sbin/ip6tables* /sbin/ip /sbin/
COPY --from=base /usr/lib/x86_64-linux-gnu/xtables/ /usr/lib/x86_64-linux-gnu/xtables
COPY --from=base /usr/lib/x86_64-linux-gnu/ /usr/lib/x86_64-linux-gnu
......@@ -44,10 +44,11 @@ RUN chown -R 1001 /var/lib/istio && \
chown -R 1001 /etc/istio && \
dnf update -y && \
dnf clean all && \
rm -rf /var/cache/dnf/
rm -rf /var/cache/dnf/ && \
useradd -u 1337 istio-proxy
###############################################################
# Run as non-root user
USER 1001
USER istio-proxy
###############################################################
HEALTHCHECK --interval=1m --start-period=30s CMD version
###############################################################
......
  • Pipeline Status: ABORTED
    ABORTED Stage: Import Artifacts
    Branch: development

    graph LR
      0([setup]):::INTERNAL_SUCCESS --> 1([Import Artifacts]):::ABORTED --> 2((/)):::INTERNAL_NOT_BUILT --> 3([Stage Artifacts]):::NOT_BUILT --> 4((/)):::INTERNAL_NOT_BUILT --> 5([Build]):::NOT_BUILT --> 6([Publish, Scan & Report]):::INTERNAL_NOT_BUILT
    
    classDef SUCCESS font-size:10px
    classDef FAILURE fill:#f44, font-size:10px
    classDef SKIPPED font-size:10px
    classDef ABORTED fill:#889, font-size:10px
    classDef INTERNAL_SUCCESS font-size:10px, stroke-dasharray: 2, 1
    classDef INTERNAL_FAILURE fill:#f44, font-size:10px, stroke-dasharray: 2, 1
    classDef INTERNAL_SKIPPED font-size:10px, stroke-dasharray: 2, 1
    classDef INTERNAL_ABORTED fill:#889, font-size:10px, stroke-dasharray: 2, 1
    
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment