Skip to content

unable to build openshift/DockerfileWithAppProtectForPlus #1090

Closed

Description

Describe the bug
unable to build openshift/DockerfileWithAppProtectForPlus with 1.8.0

To Reproduce
grab nginx-repo.crt/key and rhel_license
run

sudo make DOCKERFILE=openshift/DockerfileWithAppProtectForPlus PREFIX=registry.dc1.example.com/nginx-plus-ingress
docker build  --build-arg IC_VERSION=1.8.0-ce3ab890 --build-arg GIT_COMMIT=ce3ab890 --build-arg VERSION=1.8.0 --build-arg GOLANG_CONTAINER=golang:1.14 --target container -f build/openshift/DockerfileWithAppProtectForPlus -t registry.dc1.example.com/nginx-plus-ingress:1.8.0 .
[+] Building 1.4s (2/2) FINISHED
 => [internal] load .dockerignore                                                                                              0.9s
 => => transferring context: 2B                                                                                                0.2s
 => [internal] load build definition from DockerfileWithAppProtectForPlus                                                      1.2s
 => => transferring dockerfile: 2B                                                                                             0.0s
failed to solve with frontend dockerfile.v0: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount080478360/DockerfileWithAppProtectForPlus: no such file or directory
Makefile:57: recipe for target 'container' failed
make: *** [container] Error 1

Expected behavior

It should build.

Your environment

  • Version of the Ingress Controller - 1.8.0
  • Version of Kubernetes: OpenShift 4.3
  • NGINX Plus

Additional context

Fails building on both CentOS 8 (19.03.11) and Ubuntu 18 (Docker 19.03.6)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

bugAn issue reporting a potential bugdocumentationPull requests/issues for documentationquestionAn issue asking a question

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions