Skip to content

Commit 976be92

Browse files
committed
have docker run pkgxdev/pkgx gum format '# hi' work
1 parent c4c359f commit 976be92

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/Dockerfile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
1-
FROM debian:buster-slim as stage0
1+
FROM debian:buster-slim AS stage0
22
COPY ./products/* /pkgx/
33
RUN install -m 755 /pkgx/$(uname -m) /usr/local/bin/pkgx
44
RUN install -m 755 /pkgx/pkgm /usr/local/bin/pkgm
55
RUN echo 'export PS1="\\[\\033[38;5;63m\\]pkgx\\[\\033[0m\\]\\w $ "' >> /root/.bashrc
66

7-
FROM debian:buster-slim as stage1
7+
FROM debian:buster-slim AS stage1
88
RUN apt-get update && apt --yes install libc-dev libstdc++-8-dev libgcc-8-dev netbase libudev-dev ca-certificates
99
COPY --from=stage0 /usr/local/bin/pkgx /usr/local/bin/pkgx
1010
COPY --from=stage0 /usr/local/bin/pkgm /usr/local/bin/pkgm
1111
COPY --from=stage0 /root/.bashrc /root/.bashrc
12-
ENV BASH_ENV /root/.bashrc
12+
ENV BASH_ENV=/root/.bashrc
13+
ENV CLICOLOR_FORCE=1
1314
SHELL ["/bin/bash", "-c"]
14-
CMD ["bash", "-i"]
15+
CMD ["/bin/bash", "-i"]
16+
ENTRYPOINT ["/usr/local/bin/pkgx"]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Python 2.7.18
8080
You can use this image to try out (pretty much) any version of any program:
8181

8282
```sh
83-
$ docker run pkgxdev/pkgx pkgx node@21.1 --version
83+
$ docker run pkgxdev/pkgx node@21.1 --version
8484
v21.1.0
8585
```
8686

0 commit comments

Comments
 (0)