forked from pkgxdev/pkgx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
FROM debian:buster-slim as stage0 | ||
COPY ./products/* /pkgx/ | ||
RUN cp /pkgx/$(uname -m) /usr/local/bin/pkgx | ||
RUN touch /root/.bash_profile | ||
RUN echo 'export PS1="\\[\\033[38;5;63m\\]pkgx\\[\\033[0m\\] $ "' >> /root/.bashrc | ||
RUN pkgx integrate | ||
|
||
FROM debian:buster-slim as stage1 | ||
COPY --from=stage0 /usr/local/bin/pkgx /usr/local/bin/pkgx | ||
COPY --from=stage0 /root/.bash_profile /root/.bash_profile | ||
COPY --from=stage0 /root/.bashrc /root/.bashrc | ||
RUN apt-get update && apt --yes install libc-dev libstdc++-8-dev libgcc-8-dev netbase libudev-dev | ||
CMD ["bash"] |