forked from terraform-redhat/terraform-provider-rhcs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
17 lines (14 loc) · 659 Bytes
/
Dockerfile
File metadata and controls
17 lines (14 loc) · 659 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM registry.access.redhat.com/ubi9/go-toolset:latest AS builder
COPY . .
ENV GOFLAGS=-buildvcs=false
RUN git config --global --add safe.directory /opt/app-root/src && \
make prepare_release
FROM registry.access.redhat.com/ubi9/ubi-micro:latest
LABEL description="Terraform Provider RHCS"
LABEL io.k8s.description="Terraform Provider RHCS"
LABEL com.redhat.component="terraform-provider-rhcs"
LABEL distribution-scope="release"
LABEL name="terraform-provider-rhcs" release="X.Y" url="https://github.com/terraform-redhat/terraform-provider-rhcs"
LABEL vendor="Red Hat, Inc."
LABEL version="X.Y"
COPY --from=builder /opt/app-root/src/releases /releases