Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preconfigured build image #2

Closed
shinosaki opened this issue Feb 22, 2024 · 0 comments
Closed

Preconfigured build image #2

shinosaki opened this issue Feb 22, 2024 · 0 comments

Comments

@shinosaki
Copy link
Owner

WSL用に最適化されたビルドイメージを提供する

debootstrap

--include

  • sudo
  • bash-completion
  • locales
  • ca-certificates
  • curl
  • gnupg
  • wget

post install

  • adduser user sudo
  • /etc/wsl.conf
    [boot]
    systemd=true
    [user]
    default=user
    
  • dpkg-reconfigure
    • locales
    • tzdata
  • .bashrc
    ## User Settings
    # Keep working directory when cloning terminal in WSL
    if command -v wslpath &> /dev/null; then
      PROMPT_COMMAND=${PROMPT_COMMAND:+"$PROMPT_COMMAND; "}'printf "\e]9;9;%s\e\\" "$(wslpath -w "$PWD")"'
    fi
    # system32
    export PATH="/mnt/c/Windows/system32:$PATH"
shinosaki added a commit that referenced this issue Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant