Skip to content

Commit

Permalink
move nf-test installation to container
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexVCaron committed Jun 19, 2024
1 parent 9f9fb6f commit 37856b2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
7 changes: 0 additions & 7 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,3 @@ RUN python3 -m pip install pipx && \

RUN curl -fsSL https://deb.nodesource.com/setup_${NODE_MAJOR}.x | bash - &&\
apt-get install -y nodejs

WORKDIR /
RUN mkdir -p nf-test/bin

WORKDIR /nf-test/bin/
RUN curl -fsSL https://code.askimed.com/install/nf-test | bash -s ${NFTEST_VERSION}
ENV PATH=$PATH:/nf-test/bin
5 changes: 5 additions & 0 deletions .devcontainer/onCreateCommand.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,8 @@ npm install -g --save-dev editorconfig-checker
mkdir -p $XDG_CONFIG_HOME/nf-scil
touch $XDG_CONFIG_HOME/nf-scil/.env
echo "source $XDG_CONFIG_HOME/nf-scil/.env" >> ~/.bashrc

mkdir -p /nf-test/bin
cd /nf-test/bin/
curl -fsSL https://code.askimed.com/install/nf-test | bash -s ${NFTEST_VERSION}
echo "PATH=$PATH:/nf-test/bin" >> ~/.bashrc

0 comments on commit 37856b2

Please sign in to comment.