Comments (3)
Leaving the workdir undefined is the preferred behavior because it's an image that is used as a base for other images. The workdir can easily be set either in a dependent image or at runtime.
from docker-node.
indeed, working around it is quite easy. but I don't see documentation on actively setting the workdir when deriving an image. and it was working in the previous minor version so I see it as a regression on a LTS image, which might break a bunch of setup (it broke mine at least).
from docker-node.
It might be a change of behavior in npm that causes this to change within a major version.
from docker-node.
Related Issues (20)
- Force update the image certificates bundle during build HOT 1
- [NEXT-SECURITY-RELEASE] Heads up on upcoming Node.js security release 2024/04/09 HOT 2
- Images for Windows HOT 1
- Update yarn version to 1.22.22 HOT 7
- CVE-2024-28863 HOT 1
- Clarify support policy (for Alpine)? HOT 1
- v22.0.0 `arm` image broken HOT 6
- Docker build stucks on FROM --platform=linux/amd64 node:current-alpine image HOT 3
- docker buildx hang on node:22-alpine (armv6/armv7) HOT 5
- Alpine tag index digests differ depending on the Node version being present in the tag name HOT 2
- Upgrade Base Images to remove vulnerabilities HOT 4
- node:18-alpine build failing for canvas install HOT 5
- Alpine images with the same tag have different versions on different platforms HOT 3
- `22-alpine3.20` misses platforms while `22-alpine` has them HOT 2
- node:20.14.0-alpine3.19 no matching manifest for linux/arm64/v8 in the manifest list entries HOT 1
- Missing images for 20.14.0-alpine HOT 4
- No node:20.14.0-alpine for linux/arm64/v8 HOT 1
- Add Jenkins/Build Badge for upstream official image status HOT 2
- os.EOL is CRLF on linux docker images
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 docker-node.