Skip to content

Commit 7607c10

Browse files
committed
reroute git traffic to http to deal with submodules
1 parent 9991960 commit 7607c10

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

standalone-ghci/Dockerfile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ RUN mkdir -p /opt/spack-environment \
5353
&& echo " - cprnc" \
5454
&& echo " - yaml-cpp" \
5555
&& echo " - fmt" \
56-
&& echo " - openssh" \
5756
&& echo " - spdlog" \
5857
&& echo " " \
5958
&& echo " specs:" \
@@ -105,10 +104,7 @@ ENV USER=ghciocitester
105104

106105
RUN git config --global user.email "${USER}@${USER}.${USER}"
107106
RUN git config --global user.name "${USER}"
108-
109-
RUN ssh-keygen -t rsa -b 4096 -f /root/.ssh/id_rsa -N ""
110-
RUN cat /root/.ssh/id_rsa.pub >> /root/.ssh/authorized_keys
111-
RUN chmod 600 /root/.ssh/authorized_keys
107+
RUN git config --global url."https://github.com/".insteadOf "[email protected]:"
112108

113109
ARG DEBIAN_FRONTEND=noninteractive
114110
ENV TZ=America/Los_Angeles

0 commit comments

Comments
 (0)