Skip to content

Commit

Permalink
test(system): fix user test env
Browse files Browse the repository at this point in the history
  • Loading branch information
wdavidw committed Sep 9, 2023
1 parent df88b74 commit 28a5c1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 2 additions & 4 deletions packages/system/env/user/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,9 @@ USER nikita
# Install Node.js
ENV NODE_VERSION stable
RUN curl -L https://git.io/n-install | bash -s -- -y
# Note, bashrc not sourced unless running interactively
ENV PATH /home/nikita/n/bin:$PATH

RUN \
ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519 -N '' && \
cat ~/.ssh/id_ed25519.pub > ~/.ssh/authorized_keys
RUN ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519 -N '' && \
cat ~/.ssh/id_ed25519.pub > ~/.ssh/authorized_keys

ENTRYPOINT ["/entrypoint.sh"]
2 changes: 0 additions & 2 deletions packages/system/env/user/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,5 @@ if test -t 0; then
/bin/bash
fi
else
# Detached mode
. ~/.bashrc
npm run test:local
fi

0 comments on commit 28a5c1a

Please sign in to comment.