From d7944c4add51d50baec6c8c4ee24a386de611d65 Mon Sep 17 00:00:00 2001 From: andy5995 Date: Tue, 19 Nov 2024 23:56:19 -0600 Subject: [PATCH] Add exports to ~/.profile instead of .bashrc --- .github/workflows/docker-test.yml | 2 +- docker/Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-test.yml b/.github/workflows/docker-test.yml index d907ad70..0f14e286 100644 --- a/.github/workflows/docker-test.yml +++ b/.github/workflows/docker-test.yml @@ -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 && diff --git a/docker/Dockerfile b/docker/Dockerfile index 2f79c7f6..bb06732d 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -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"]