Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Commit

Permalink
chore: fix docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
eliobischof committed Dec 9, 2019
1 parent 65fc083 commit c3a6105
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
*
!artifacts/orbctl-linux-amd64
!artifacts/orbctl-Linux-x86_64
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ FROM scratch

COPY --from=minimal /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=minimal /etc_passwd /etc/passwd
COPY --chown=65534:65534 artifacts/orbctl-linux-amd64 /orbctl
COPY --chown=65534:65534 artifacts/orbctl-Linux-x86_64 /orbctl

USER nobody

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ sudo chown $(id -u):$(id -g) /usr/local/bin/orbctl
# Set some environment variables in order to avoid too much retyping.
ORB_NAME=myorb # Set ORB_NAME to your repositorys name without dashes
ORB_REPOKEY_PATH="~/.ssh/${ORB_NAME}_bootstrap"
alias myorb="~/Downloads/orbctl-linux-amd64 --repourl git@github.com:caos/my-orb.git --repokey-file ${ORB_REPOKEY_PATH} --masterkey 'a very secret key'"
alias myorb="orbctl --repourl git@github.com:caos/my-orb.git --repokey-file ${ORB_REPOKEY_PATH} --masterkey 'a very secret key'"

# Create a new ssh key pair.
ssh-keygen -t rsa -b 4096 -C "repo and VM bootstrap key" -P "" -f $ORB_REPOKEY_PATH -q && ssh-add $ORB_REPOKEY_PATH
Expand Down

0 comments on commit c3a6105

Please sign in to comment.