Skip to content

Commit

Permalink
Remove safe dir
Browse files Browse the repository at this point in the history
  • Loading branch information
sam-at-luther committed Dec 1, 2023
1 parent 18e27ff commit e3b29f3
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion images/Dockerfile.build-go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ 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 git config --system url."git@github.com:luthersystems/chainidentifier.git".insteadOf "https://github.com/luthersystems/chainidentifier"
RUN git config --global safe.directory '*' # Needed to support git vcs and permissions in CI

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
1 change: 0 additions & 1 deletion images/Dockerfile.build-go-alpine
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ 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 git config --system url."git@github.com:luthersystems/chainidentifier.git".insteadOf "https://github.com/luthersystems/chainidentifier"
RUN git config --global safe.directory '*' # Needed to support git vcs and permissions in CI

RUN apk add --no-cache openssh
RUN ssh-keyscan -t Ed25519 -H bitbucket.org | tee -a /etc/ssh/ssh_known_hosts
Expand Down
2 changes: 1 addition & 1 deletion images/Dockerfile.build-godynamic
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ 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 git config --system url."git@github.com:luthersystems/chainidentifier.git".insteadOf "https://github.com/luthersystems/chainidentifier"
RUN git config --global safe.directory '*' # Needed to support git vcs and permissions in CI

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: 1 addition & 1 deletion images/Dockerfile.build-goextra
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ 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 git config --system url."git@github.com:luthersystems/chainidentifier.git".insteadOf "https://github.com/luthersystems/chainidentifier"
RUN git config --global safe.directory '*' # Needed to support git vcs and permissions in CI

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 e3b29f3

Please sign in to comment.