Skip to content

Commit

Permalink
Add Dockerfile for konflux adoption
Browse files Browse the repository at this point in the history
  • Loading branch information
pramodbindal committed Oct 10, 2024
1 parent 55c3968 commit a246374
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions openshift/dockerfiles/cache.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
ARG GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:v1.22
ARG RUNTIME=registry.access.redhat.com/ubi9/ubi-minimal:latest@sha256:c0e70387664f30cd9cf2795b547e4a9a51002c44a4a86aa9335ab030134bf392

FROM $GO_BUILDER AS builder

WORKDIR /go/src/github.com/openshift-pipelines/tekton-caches
COPY . .

RUN go build -v -o /tmp/cache ./cmd/cache

FROM $RUNTIME
ARG VERSION=tekton-caches-main

COPY --from=builder /tmp/cache /ko-app/cache
LABEL \
com.redhat.component="openshift-pipelines-tekton-caches" \
name="openshift-pipelines/pipelines-tekton-caches-rhel8" \
version=$VERSION \
summary="Red Hat OpenShift Pipelines Tekton Caches" \
maintainer="[email protected]" \
description="Red Hat OpenShift Pipelines Tekton Caches" \
io.k8s.display-name="Red Hat OpenShift Pipelines Tekton Caches" \
io.k8s.description="Red Hat OpenShift Pipelines Tekton Caches" \
io.openshift.tags="pipelines,tekton,openshift,tekton-caches"

0 comments on commit a246374

Please sign in to comment.