Skip to content

Commit

Permalink
Merge pull request #777 from slaclab/issue773-try2
Browse files Browse the repository at this point in the history
Issue773 try2
  • Loading branch information
swh76 authored May 30, 2023
2 parents d437300 + 2877535 commit ebbb769
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker/server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ ENV PYTHONPATH /usr/local/src/smurf-pcie/firmware/submodules/axi-pcie-core/pytho
ARG branch
WORKDIR /usr/local/src
RUN git clone https://github.com/slaclab/pysmurf.git -b ${branch}
# Must add to safe directories for cryo user in order for the core
# pysmurf instance to be able to resolve its version using git.
USER cryo
RUN git config --global --add safe.directory /usr/local/src/pysmurf
USER root
WORKDIR pysmurf
RUN mkdir build
WORKDIR build
Expand Down

0 comments on commit ebbb769

Please sign in to comment.