question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

docker-build.tar does not include broken symlinks

See original GitHub issue

Description

Symlinks might not point to anything on the host system, but be useful inside the container.

More importantly this is different from the standard Docker behavior.

Info

Check the sample output in https://github.com/jakub-bochenski/demp-link-problem/blob/master/README.md

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
rhusscommented, Nov 27, 2018

Sorry for the late response, November is crazy busy with travelling for me. Actually I think this should be an option in the Maven archiver used for creating that tar, so that symlinks get resolved before being included into the tar. Need to check that, but I’m afraid can’ t do it before mid December. Please ping me again in case I should forget it.

0reactions
jakub-bochenskicommented, Dec 13, 2018

PS. What I find really strange here is that apparently nobody ever hit this issue before.

Another thought: maybe it would be worth checking out how https://github.com/mojohaus/rpm-maven-plugin is handling this. (Specifically http://www.mojohaus.org/rpm-maven-plugin/map-params.html)

Read more comments on GitHub >

github_iconTop Results From Across the Web

COPY resolves symlinks it shouldn't try to resolve #1111
Actual behavior Since v0.18.0, COPY tries to resolve some symlinks it shouldn't try to resolve, which is a regression.
Read more >
How to specify different .dockerignore files for different builds ...
Now I'm trying to use Docker to run my unit tests, and in this case I want the tests directory included. I've checked...
Read more >
Docker for Windows 2.x release notes
Compose-on-Kubernetes is no longer included in the Docker Desktop installer. You can download it separately from the compose-on-kubernetes release page.
Read more >
podman-build
podman build Builds an image using instructions from one or more Containerfiles or Dockerfiles and a specified build context directory. A Containerfile uses...
Read more >
Docker Images : Part III - Going Farther To Reduce Image Size
We will talk about standardizing base images, stripping binaries, assets optimization, and other build systems or add-ons like DockerSlim or ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found