Comments (3)
Thank you for the report! What do you mean by "when copying files"? Are you using the utils package directly? The DockerSlim code uses it only when it needs to copy additional files based on the include-paths command line parameter. The main files DockerSlim discovers are copied using another method...
You are right about the Lstat() call though. There's a couple of other places with the same problem, but it's not relevant there because the files are already pre-filtered into regular and link files.
from slim.
Thank you for your reply! Indeed, I use the utils package directly. And as you said, the CopyFile()
has no effect on the main files DockerSlim discovers.
I really appreciate docker-slim, thanks again.
from slim.
It'll be fixed in a few days either way. Thank you for catching the bug!
from slim.
Related Issues (20)
- Non usable python-gunicorn docker slimed image HOT 1
- slim ci-cd-integration HOT 4
- Unit tests failing in CI
- Format validation for the --env flag values HOT 3
- `slim build` doesn't generate optimized Dockerfile HOT 3
- CLI Enhancement: Ability to specify all command parameters in a json file ("command-params-file" flag) HOT 4
- Feature: New top level helper command to create a multi-architecture image from architecture specific images HOT 2
- docker-slim build exited code=16777218
- I add --exclude-pattern=/var/lock can fix it! HOT 2
- Azure Functions docker image - Docker slim fails HOT 1
- slim image size is different each time from same fat image and use same cmd line
- Ubuntu 23.10 slim build error docker socket not found HOT 1
- slim 1.40.9 not compatible with new release docker 25.0 HOT 17
- Stuck on inspection when building on aarch64 HOT 2
- API version incorrect HOT 6
- Cảnh báo ! Toàn đất nước Việt Nam HOT 2
- dockerutil.BuildEmptyImage() fails with bad API version HOT 9
- How to avoid healthcheck removal? HOT 3
- sensor: composite monitor - FAN failed to start running HOT 3
- Keeping symlinks HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slim.