Skip to content

Commit

Permalink
Merge pull request #1 from aleskandro/main
Browse files Browse the repository at this point in the history
OCPQE-8067: Enable multiarch building for Dockerfile and $basearch on nginx.repo
  • Loading branch information
pruan-rht authored Jan 5, 2022
2 parents a31b22c + a96269f commit 4c7321c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM quay.io/openshifttest/origin-release:golang-1.9
FROM golang:1.9
COPY . /go/src/github.com/openshift/content-mirror/
RUN GOPATH=/go go install github.com/openshift/content-mirror/cmd/content-mirror

FROM quay.io/openshifttest/centos:7
FROM quay.io/openshifttest/base-fedora:multiarch
COPY --from=0 /go/bin/content-mirror /usr/bin/content-mirror
COPY nginx.repo /etc/yum.repos.d/nginx.repo
RUN INSTALL_PKGS=" \
Expand Down
2 changes: 1 addition & 1 deletion nginx.repo
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
name=nginx
gpgcheck=0
enabled=0
baseurl=http://nginx.org/packages/mainline/centos/7/x86_64/
baseurl=http://nginx.org/packages/mainline/centos/8/$basearch/

0 comments on commit 4c7321c

Please sign in to comment.