Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /var/lib/snapd/void/Dockerfile.xe: no such file or directory #2388

Open
mariadb-RoelVandePaar opened this issue Jun 10, 2022 · 4 comments
Assignees
Labels
database more-info-required More information is required to solve this issue

Comments

@mariadb-RoelVandePaar
Copy link

mariadb-RoelVandePaar commented Jun 10, 2022

/test/docker-images/OracleDatabase/SingleInstance/dockerfiles$ ./buildContainerImage.sh -v 21.3.0 -x
Checking Docker version.
Ignored MD5 checksum.
==========================
Container runtime info:
Client:
 Context:    default
 Debug Mode: false

Server:
 Containers: 0
  Running: 0
  Paused: 0
  Stopped: 0
 Images: 0
 Server Version: 20.10.14
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 1
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runtime.v1.linux runc io.containerd.runc.v2
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 3df54a852345ae127d1fa3092b95168e4a88e2f8
 runc version: 
 init version: de40ad0
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 5.13.0-1030-gcp
 Operating System: Ubuntu Core 18
 OSType: linux
 Architecture: x86_64
 CPUs: 32
 Total Memory: 117.9GiB
 Name: testserver
 ID: P5MU:HKBL:5R4A:6X3W:DSPW:EWM3:CE7Y:NRTE:LQVV:KZOH:FF7I:JEID
 Docker Root Dir: /var/snap/docker/common/var-lib-docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

==========================
Building image 'oracle/database:21.3.0-xe' ...
unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /var/lib/snapd/void/Dockerfile.xe: no such file or directory

ERROR: Oracle Database container image was NOT successfully created.
ERROR: Check the output and correct any reported problems with the build operation.

Running it as sudo makes no difference. Adding a symlink (not a great solution):

sudo ln -s ${PWD}/21.3.0/Dockerfile.xe /var/lib/snapd/void/Dockerfile.xe

Works, but then it complains about the next thing missing (/test). What is the real issue please?
OS:Ubuntu 20.04

@mariadb-RoelVandePaar
Copy link
Author

I reviewed all previous issues in this area, to no avail.

@mariadb-RoelVandePaar
Copy link
Author

Any suggestions/ideas? Thank you

@mariadb-RoelVandePaar
Copy link
Author

Some attention to this ticket would be appreciated. Thank you.

@abhisbyk
Copy link
Contributor

abhisbyk commented Sep 5, 2022

@mariadb-RoelVandePaar It appears that the build-context is not able to find the Dockerfile.xe. Please run buildContainerImage.sh script by going inside the docker-images/OracleDatabase/SingleInstance/dockerfiles directory or give the full absolute path to the buildContainerImage.sh script while running it.
Please let me know if this resolves the issue.

@abhisbyk abhisbyk added the more-info-required More information is required to solve this issue label Sep 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
database more-info-required More information is required to solve this issue
Projects
None yet
Development

No branches or pull requests

4 participants