UNCLASSIFIED

Commit 54c4b18a authored by Michael Simmons's avatar Michael Simmons
Browse files

Reworked container to use renovate

parent 65868f9a
Pipeline #26486 failed with stage
ARG BASE_REGISTRY=nexus-docker-secure.levelup-dev.io
ARG BASE_IMAGE=redhat/ubi/ubi8
ARG BASE_TAG=8.2
# ARG BASE_REGISTRY=nexus-docker-secure.levelup-dev.io
# ARG BASE_IMAGE=redhat/ubi/ubi8
# ARG BASE_TAG=8.2
FROM $BASE_REGISTRY/$BASE_IMAGE:$BASE_TAG
# FROM $BASE_REGISTRY/$BASE_IMAGE:$BASE_TAG
FROM minio/mc:RELEASE.2020-06-26T19-56-55Z as base
FROM localhost/redhat/ubi/ubi8:8.2
LABEL name="mc" \
description="MinIO Client (mc) provides a modern alternative to UNIX commands. It supports filesystems and Amazon S3 compatible cloud storage service." \
vendor="OpenSource" \
summary="Minio MC (Red Hat UBI)" \
maintainer="cody.hutchins@darkwolf.co" \
version="2020-06-16T19-24-41Z"
maintainer="michael.simmons@anchore.com" \
version="2020-06-26T19-56-55Z"
RUN dnf upgrade -y && \
dnf clean all && \
rm -rf /var/cache/dnf
COPY mc /usr/bin
COPY --from=base /usr/bin/mc /usr/bin/mc
RUN chmod +x /usr/bin/mc && useradd user_mc
......
# mc
# MinIO Client
MinIO Client (mc) provides a modern alternative to UNIX commands like ls, cat, cp, mirror, diff, find etc. It supports filesystems and Amazon S3 compatible cloud storage service (AWS Signature v2 and v4).
\ No newline at end of file
MinIO Client (mc) provides a modern alternative to UNIX commands like ls, cat, cp, mirror, diff, find etc. It supports filesystems and Amazon S3 compatible cloud storage service (AWS Signature v2 and v4).
## Documentation
Full documentation and deployment instructions for MinIO Client can be found [here](https://docs.min.io/docs/minio-client-complete-guide.html)
To run a container, run the following once importing the image into your local registry:
`docker run -it --entrypoint=/bin/sh <image_name>`
Then run `mc config` to configure the client.
\ No newline at end of file
resources:
- url: "https://dl.min.io/client/mc/release/linux-amd64/mc.RELEASE.2020-06-16T19-24-41Z"
filename: "mc"
validation:
type: "sha256"
value: "ff246d5ffc91d7318b2b56e5bc4bbd20c4efc4ed52a3efb974e54bb56f4f1ce5"
- url: "docker://docker.io/minio/mc@sha256:f07e5b2a7ca52029c392b2447c8908c027fd6ec270868f10ada81645ae376c2c"
tag: "minio/mc:RELEASE.2020-06-26T19-56-55Z"
{
"assignees": ["@msimmons719"],
"baseBranches": ["development"],
"regexManagers": [
{
"fileMatch": ["^Dockerfile$"],
"matchStrings": [
"version=\"(?<currentValue>.*?)\""
],
"depNameTemplate": "minio/mc",
"datasourceTemplate": "docker"
},
{
"fileMatch": ["^Jenkinsfile$"],
"matchStrings": [
"version:\\s+\"(?<currentValue>.*?)\""
],
"depNameTemplate": "minio/minio",
"datasourceTemplate": "docker"
}
]
}
\ No newline at end of file
  • Pipeline Status: FAILURE
    FAILURE Stage: Build
    Branch: initial-release

    graph LR
      0([setup]):::INTERNAL_SUCCESS --> 1([Import Artifacts]):::SUCCESS --> 2((/)):::INTERNAL_SUCCESS --> 3([Stage Artifacts]):::SUCCESS --> 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/minio/mc:2020-06-16T19-24-41Z-testing --label dccscr.git.commit.id=54c4b18a06ea62988a6b7189228cea66ab49d194 --label dccscr.git.commit.url=https://dccscr.dsop.io/dsop/opensource/minio/mc/tree/54c4b18a06ea62988a6b7189228cea66ab49d194 --label dccscr.git.url=https://repo1.dsop.io/dsop/opensource/minio/mc.git --label dccscr.git.branch=initial-release --label dccscr.image.version=2020-06-16T19-24-41Z --label 'dccscr.image.build.date=Thu Jul  2 21:00:36 UTC 2020
    ' --label dccscr.image.build.id=4 --label dccscr.image.name=mc --label dccscr.ironbank.approval.status=notapproved --label dccscr.ironbank.approval.url=TBD --label dccscr.ironbank.url=TBD --label dcar_status=notapproved .
    STEP 1: FROM minio/mc:RELEASE.2020-06-26T19-56-55Z AS base
    Getting image source signatures
    Copying blob sha256:1b3ee35aacca9866b01dd96e870136266bde18006ac2f0d6eb706c798d1fa3c3
    Copying blob sha256:d76ff39d6034b671d33cd8f721a6cdafcb0369a90fac3834738881df9eb8e742
    Copying config sha256:8bcd012e9511e0e03b413b2d50fc4fabaa3dd5ee6e482d228979abeb1b8478bb
    Writing manifest to image destination
    Storing signatures
    8bcd012e9511e0e03b413b2d50fc4fabaa3dd5ee6e482d228979abeb1b8478bb
    STEP 2: FROM localhost/redhat/ubi/ubi8:8.2
    error creating build container: Error initializing source docker://localhost/redhat/ubi/ubi8:8.2: error pinging docker registry localhost: Get http://localhost/v2/: dial tcp [::1]:80: connect: connection refused
    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