open5gs/docker/build/Dockerfile

20 lines
488 B
Docker
Raw Normal View History

2018-02-20 10:36:34 +00:00
ARG dist=ubuntu
ARG tag=latest
ARG username=acetcom
FROM ${username}/${dist}-${tag}-open5gs-base
2018-02-20 10:36:34 +00:00
MAINTAINER Sukchan Lee <acetcom@gmail.com>
2018-02-21 14:20:48 +00:00
WORKDIR /root
COPY setup.sh /root
2018-02-20 10:36:34 +00:00
2020-08-14 01:28:37 +00:00
ARG USER=open5gs
2019-10-27 08:58:16 +00:00
ARG REPO=open5gs
2021-02-22 15:24:18 +00:00
ARG BRANCH=main
2021-04-27 13:48:46 +00:00
RUN git clone https://github.com/$USER/$REPO
ADD https://api.github.com/repos/$USER/$REPO/git/refs/heads/$BRANCH /root/open5gs-ver.json
2021-04-27 13:48:46 +00:00
RUN cd $REPO && \
git fetch && git checkout -f -B $BRANCH origin/$BRANCH && \
meson build && ninja -C build install