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
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