Skip to content

Commit

Permalink
Add exports to ~/.profile instead of .bashrc
Browse files Browse the repository at this point in the history
  • Loading branch information
andy5995 committed Nov 20, 2024
1 parent d987337 commit d7944c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
-w /workspace \
-u builder \
test-image \
/bin/bash --login -c "
/bin/bash -l -c "
bun install &&
bun run codegen &&
bun run meson-setup.clang-release &&
Expand Down
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ USER builder

RUN curl -fsSL https://bun.sh/install | bash
RUN \
echo "export BUN_INSTALL=\"\$HOME/.bun\"" >> $HOME/.bashrc && \
echo "export PATH=\"\$BUN_INSTALL/bin:\$PATH\"" >> $HOME/.bashrc
echo "export BUN_INSTALL=\"\$HOME/.bun\"" >> $HOME/.profile && \
echo "export PATH=\"\$BUN_INSTALL/bin:\$PATH\"" >> $HOME/.profile

USER root
CMD ["bash", "-l"]

0 comments on commit d7944c4

Please sign in to comment.