Skip to content

Commit

Permalink
Add private GH substrate
Browse files Browse the repository at this point in the history
  • Loading branch information
sam-at-luther committed Jul 19, 2023
1 parent cf33ef3 commit 0a69854
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions images/Dockerfile.build-go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ ENV GOCACHE /tmp
RUN git config --system url."git@bitbucket.org:".insteadOf "https://bitbucket.org/"
RUN git config --system url."git@github.com:luthersystems/license.git".insteadOf "https://github.com/luthersystems/license"
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 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

Expand Down
2 changes: 2 additions & 0 deletions images/Dockerfile.build-godynamic
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,10 @@ ENV GOCACHE /tmp
RUN git config --system url."git@bitbucket.org:".insteadOf "https://bitbucket.org/"
RUN git config --system url."git@github.com:luthersystems/license.git".insteadOf "https://github.com/luthersystems/license"
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 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

ENTRYPOINT ["tini", "--", "make", "-f", "/opt/Dockerfile.godynamic.mk"]
Expand Down
1 change: 1 addition & 0 deletions images/Dockerfile.build-goextra
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ ENV GOCACHE /tmp
RUN git config --system url."git@bitbucket.org:".insteadOf "https://bitbucket.org/"
RUN git config --system url."git@github.com:luthersystems/license.git".insteadOf "https://github.com/luthersystems/license"
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 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
Expand Down

0 comments on commit 0a69854

Please sign in to comment.