Update dockerfiles

Signed-off-by: Jian Qiu <jqiu@redhat.com>
This commit is contained in:
Jian Qiu
2021-06-22 14:07:22 +08:00
parent 6cef6d3db0
commit c9d71ff42b
2 changed files with 5 additions and 5 deletions

View File

@@ -36,7 +36,7 @@ contribution. See the [DCO](DCO) file for details.
Anyone may comment on issues and submit reviews for pull requests. However, in
order to be assigned an issue or pull request, you must be a member of the
[open-cluster-management](https://github.com/open-cluster-management) GitHub organization.
[open-cluster-management](https://github.com/open-cluster-management-io) GitHub organization.
Repo maintainers can assign you an issue or pull request by leaving a
`/assign <your Github ID>` comment on the issue or pull request.

View File

@@ -1,7 +1,7 @@
FROM docker.io/openshift/origin-release:golang-1.16 AS builder
WORKDIR /go/src/github.com/open-cluster-management/work
WORKDIR /go/src/open-cluster-management.io/work
COPY . .
ENV GO_PACKAGE github.com/open-cluster-management/work
ENV GO_PACKAGE open-cluster-management.io/work
RUN make build --warn-undefined-variables
RUN make build-e2e --warn-undefined-variables
@@ -9,8 +9,8 @@ RUN make build-e2e --warn-undefined-variables
FROM registry.access.redhat.com/ubi8/ubi-minimal:latest
ENV USER_UID=10001
COPY --from=builder /go/src/github.com/open-cluster-management/work/work /
COPY --from=builder /go/src/github.com/open-cluster-management/work/e2e.test /
COPY --from=builder /go/src/open-cluster-management.io/work/work /
COPY --from=builder /go/src/open-cluster-management.io/work/e2e.test /
RUN microdnf update && microdnf clean all
USER ${USER_UID}