opencode auth login
# Select "Kimi For Coding"
# Enter your API key (sk-kimi-...)
This file contains hidden or 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
| FROM microsoft/dotnet:2.0-sdk as builder | |
| RUN mkdir -p /root/src/app/aspnetcoreapp | |
| WORKDIR /root/src/app/aspnetcoreapp | |
| #copy just the project file over | |
| # this prevents additional extraneous restores | |
| # and allows us to resuse the intermediate layer | |
| # This only happens again if we change the csproj. | |
| # This means WAY faster builds! |
Create a brand new ed25519 key pair
ssh-keygen -o -a 100 -t ed25519
Get the pub key and put the result in your lxd default profile
cat ~/.ssh/ed25519.pub
lxc profile edit default