diff --git a/docker/build/Dockerfile b/docker/build/Dockerfile index 584fe9434..d0dfd3ef7 100644 --- a/docker/build/Dockerfile +++ b/docker/build/Dockerfile @@ -11,9 +11,9 @@ COPY setup.sh /root ARG USER=open5gs ARG REPO=open5gs ARG BRANCH=main -RUN git clone https://github.com/$USER/$REPO +RUN git clone https://github.com/$USER/$REPO ADD https://api.github.com/repos/$USER/$REPO/git/refs/heads/$BRANCH /root/open5gs-ver.json -RUN cd $REPO && \ - git fetch && git checkout -f -B $BRANCH origin/$BRANCH && \ +RUN cd $REPO && \ + git fetch && git checkout -f -B $BRANCH origin/$BRANCH && \ meson build && ninja -C build install