-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Description
I am right now trying to figure out what is the best way to make some packages available in Docker images.
Before v1 we were doing some hackery with dev and a manually tweaked PATH.
Now that we have a stable release, it was time to revisit the official recommendations.
I tried to follow the docs but somehow failed.
The simple
FROM pkgxdev/pkgx
RUN env +node@16
RUN npm startresults in
> [ 2/15] RUN env +node@16:
#0 0.092 env: '+node@16': No such file or directory
------
Dockerfile:2
--------------------
1 | FROM pkgxdev/pkgx
2 | >>> RUN env +node@16
3 | RUN npm start
4 |
--------------------
ERROR: failed to solve: process "/bin/sh -c env +node@16" did not complete successfully: exit code: 127
The same happens when trying to use RUN eval "$(curl -Ssf --proto '=https' https://pkgx.sh)"
As we see, the used shell is /bin/sh. Can this work at all?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels