-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #38 from wehkamp/zsh-support
Zsh support
- Loading branch information
Showing
5 changed files
with
749 additions
and
485 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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/sh | ||
|
||
# colors | ||
NC='\033[0m' # no color | ||
YELLOW='\033[1;33m' | ||
|
||
# echo start instructions | ||
echo -e "To start your bot-zero instance, please enter: ${YELLOW}npm run dev${NC}" | ||
echo "" |
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,12 +1,19 @@ | ||
# Start with the same base image | ||
FROM mcr.microsoft.com/devcontainers/javascript-node:0-18-bullseye | ||
FROM mcr.microsoft.com/devcontainers/typescript-node:1-22-bookworm | ||
|
||
# Upgrade NPM | ||
RUN npm install -g npm@9.6.7 | ||
RUN npm install -g npm@10.9.0 --no-audit --no-fund | ||
|
||
# Install global packages | ||
RUN npm install --no-audit --no-fund --global \ | ||
npm-check-updates | ||
|
||
COPY ./startup.sh / | ||
RUN chmod +x /startup.sh | ||
RUN chmod +x /startup.sh | ||
|
||
# Copy bash profile, if you copy it directly | ||
# you'll lose your colors :-( | ||
COPY ./.profile /tmp/.profile | ||
RUN cat /tmp/.profile >> /home/node/.bashrc && \ | ||
cat /tmp/.profile >> /home/node/.zshrc && \ | ||
rm /tmp/.profile | ||
|
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
Oops, something went wrong.