Skip to content

Commit

Permalink
reroute git traffic to http to deal with submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
mahf708 committed Jan 27, 2025
1 parent 9991960 commit 7607c10
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions standalone-ghci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ RUN mkdir -p /opt/spack-environment \
&& echo " - cprnc" \
&& echo " - yaml-cpp" \
&& echo " - fmt" \
&& echo " - openssh" \
&& echo " - spdlog" \
&& echo " " \
&& echo " specs:" \
Expand Down Expand Up @@ -105,10 +104,7 @@ ENV USER=ghciocitester

RUN git config --global user.email "${USER}@${USER}.${USER}"
RUN git config --global user.name "${USER}"

RUN ssh-keygen -t rsa -b 4096 -f /root/.ssh/id_rsa -N ""
RUN cat /root/.ssh/id_rsa.pub >> /root/.ssh/authorized_keys
RUN chmod 600 /root/.ssh/authorized_keys
RUN git config --global url."https://github.com/".insteadOf "[email protected]:"

ARG DEBIAN_FRONTEND=noninteractive
ENV TZ=America/Los_Angeles
Expand Down

0 comments on commit 7607c10

Please sign in to comment.