-
Notifications
You must be signed in to change notification settings - Fork 187
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
Can't build images with Dockerfile samples #1235
Comments
Thanks @armintaenzertng. I'm not actually sure what those sample image Dockerfiles are for. Looks like @nishakm added them almost 5 years ago so I'm not terribly surprised they won't build. Are you trying to build the images to run Tern on them? |
Yes, I stumbled upon this while trying out the command described here in the README that uses these Dockerfiles. |
Ah, good catch. I will update these files (and probably delete a handful of them since I don't want to maintain them all). |
@armintaenzertng I looked at each of the files you had issues with but didn't quite reproduce all the same errors. Here's what I saw: $ tern report -d samples/debian_vim/Dockerfile
$ tern report -d samples/photon_3_layers/Dockerfile
$ tern report -d samples/photon_git/Dockerfile
$ tern report -d samples/photon_openjre/Dockerfile
I'll push these changes and include them in the latest Tern release. |
There were several Dockerfiles in the `samples` repo that were referring to base images that either no longer exist or are much out of date (5+ years). This commit updates the base images in those files so that Tern/Docker can build and analyze them. Resolves tern-tools#1235 Signed-off-by: Rose Judge <rjudge@vmware.com>
There were several Dockerfiles in the `samples` repo that were referring to base images that either no longer exist or are much out of date (5+ years). This commit updates the base images in those files so that Tern/Docker can build and analyze them. Resolves #1235 Signed-off-by: Rose Judge <rjudge@vmware.com>
Four of the provided Dockerfiles in the
samples
directory lead to errors when I try to build an image from them.These are the ones under
debian_vim
,photon_3_layers
,photon_git
, andphoton_openjre
.To Reproduce
docker build ./samples/debian_vim
and similar for the other sample directories.
Error in terminal
$ docker build ./samples/debian_vim
$ docker build ./samples/photon_3_layers/
$ docker build ./samples/photon_git/
$ docker build ./samples/photon_openjre/
Expected behavior
I expect the building of images from the provided Dockerfiles to succeed.
Environment you are running Tern on
The text was updated successfully, but these errors were encountered: