- We've got some components
A
,B
andC
which provide different slots.const A = { template: `<div><slot name="a">Default A Content</slot></div>` }
const B = {
FROM ubuntu:latest | |
RUN apt-get update && apt-get -y install gosu | |
COPY entrypoint.sh /usr/local/bin/entrypoint.sh | |
RUN chmod +x /usr/local/bin/entrypoint.sh | |
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"] |
function ssh-copy-id([string]$userAtMachine, [string]$port = 22) { | |
# Get the generated public key | |
$key = "$ENV:USERPROFILE" + "/.ssh/id_rsa.pub" | |
# Verify that it exists | |
if (!(Test-Path "$key")) { | |
# Alert user | |
Write-Error "ERROR: '$key' does not exist!" | |
} | |
else { | |
# Copy the public key across |