Skip to content

Commit

Permalink
Add ssh for go repos
Browse files Browse the repository at this point in the history
  • Loading branch information
sam-at-luther committed Jul 26, 2023
1 parent 531e6c0 commit 57ec624
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions images/Dockerfile.build-go-alpine
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ RUN git config --system url."git@github.com:luthersystems/license.git".insteadOf
RUN git config --system url."git@github.com:luthersystems/lutherauth-sdk-go.git".insteadOf "https://github.com/luthersystems/lutherauth-sdk-go"
RUN git config --system url."git@github.com:luthersystems/substrate.git".insteadOf "https://github.com/luthersystems/substrate"

RUN apk add --no-cache openssh
RUN ssh-keyscan -t Ed25519 -H bitbucket.org | tee -a /etc/ssh/ssh_known_hosts
RUN ssh-keyscan -t Ed25519 -H github.com | tee -a /etc/ssh/ssh_known_hosts

ENV GOPRIVATE bitbucket.org/luthersystems

ENV GOCACHE /tmp
Expand Down

0 comments on commit 57ec624

Please sign in to comment.