-
Is there a way to use the FROM pkgxdev/pkgx
WORKDIR /app
COPY .pkgx.yaml .
RUN dev But that actually outputs: $ docker build --progress=plain .
#8 [build 4/4] RUN dev
#8 sha256:a66705348c4597320598f745464945e2efab1513b3a85c1d9697ae7963eb30a6
#8 0.181 /bin/sh: 1: dev: not found
#8 ERROR: executor failed running [/bin/sh -c dev]: exit code: 127
------
> [build 4/4] RUN dev:
------ Am I abusing/misunderstanding how pkgx wants to work with a container? The documentation page seems to suggest we can build our own dependencies using |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Likely a consequence of this: #769 (comment).
? |
Beta Was this translation helpful? Give feedback.
yes, typing
dev
will work with the next release 1.0.1 (today I hope).In the meantime the shellcode for dev is
eval "$(pkgx --internal.activate $PWD)"
if you like, edit or yes @jhheider’s example is the endorsed route.