UNCLASSIFIED

Commit 128bda7d authored by Joshua Eason's avatar Joshua Eason
Browse files

Fixing permission errors

parent bfdf8bb7
Pipeline #22236 failed with stage
......@@ -47,7 +47,9 @@ ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
BUNDLE_APP_CONFIG="$GEM_HOME"
ENV PATH $HOME/bin:$GEM_HOME/bin:$PATH
RUN mkdir -p "$GEM_HOME" && chmod 700 "$GEM_HOME"
RUN mkdir -p "$GEM_HOME" && \
chmod 755 "$GEM_HOME" && \
chown -R 1001:0 "$GEM_HOME"
RUN useradd -u 1001 -g 0 -M -d /opt/app-root/src default && \
mkdir -p /opt/app-root/src && \
......
  • Pipeline Status: FAILURE
    FAILURE Stage: Build
    Branch: patch-1

    graph LR
      0([setup]):::INTERNAL_SUCCESS --> 1([Import Artifacts]):::NOT_BUILT --> 2((/)):::INTERNAL_SUCCESS --> 3([Stage Artifacts]):::NOT_BUILT --> 4((/)):::INTERNAL_SUCCESS --> 5([Build]):::FAILURE --> 6([Publish, Scan & Report]):::INTERNAL_FAILURE
    
    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
    

    Error Log:

    + buildah bud --tls-verify=false --format=docker --loglevel=3 --storage-driver=vfs --build-arg BASE_REGISTRY=**** --build-arg BASE_IMAGE=redhat/ubi/ubi8 --build-arg BASE_TAG=8.2 -t ****/opensource/ruby/ruby27:2.7.1-testing --label dccscr.git.commit.id=128bda7dc547e90390d571b94e608d9d0ecec758 --label dccscr.git.commit.url=https://dccscr.dsop.io/dsop/opensource/ruby/ruby27/tree/128bda7dc547e90390d571b94e608d9d0ecec758 --label dccscr.git.url=https://repo1.dsop.io/dsop/opensource/ruby/ruby27.git --label dccscr.git.branch=patch-1 --label dccscr.image.version=2.7.1 --label 'dccscr.image.build.date=Thu Jun 11 16:20:30 UTC 2020
    ' --label dccscr.image.build.id=1 --label dccscr.image.name=ruby27 --label dccscr.ironbank.approval.status=approved --label dccscr.ironbank.approval.url=TBD --label dccscr.ironbank.url=TBD --label dcar_status=approved .
    cannot find Containerfile or Dockerfile in context directory: stat /tmp/workspace/p_opensource_ruby_ruby27_patch-1/Dockerfile: no such file or directory
    script returned exit code 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