2020-01-09 22:02:18 +00:00
|
|
|
ARG USER
|
|
|
|
FROM $USER/debian-buster-build
|
2020-11-18 16:52:56 +00:00
|
|
|
# Arguments used after FROM must be specified again
|
2022-06-27 12:10:43 +00:00
|
|
|
ARG OSMOCOM_REPO_MIRROR="https://downloads.osmocom.org"
|
|
|
|
ARG OSMOCOM_REPO_PATH="packages/osmocom:"
|
2021-04-30 13:24:00 +00:00
|
|
|
ARG OSMOCOM_REPO="${OSMOCOM_REPO_MIRROR}/${OSMOCOM_REPO_PATH}/nightly/Debian_10/"
|
2020-01-09 22:02:18 +00:00
|
|
|
|
2021-03-09 23:58:55 +00:00
|
|
|
COPY .common/Release.key /tmp/Release.key
|
2020-01-09 22:02:18 +00:00
|
|
|
|
|
|
|
RUN apt-key add /tmp/Release.key && \
|
|
|
|
rm /tmp/Release.key && \
|
|
|
|
echo "deb " $OSMOCOM_REPO " ./" > /etc/apt/sources.list.d/osmocom-nightly.list
|
|
|
|
|
|
|
|
ADD $OSMOCOM_REPO/Release /tmp/Release
|
|
|
|
RUN apt-get update && \
|
|
|
|
apt-get install -y --no-install-recommends \
|
|
|
|
libosmocore-dev \
|
|
|
|
&& \
|
|
|
|
apt-get clean
|
|
|
|
|
|
|
|
RUN useradd -m osmocom
|
|
|
|
USER osmocom
|
|
|
|
WORKDIR /home/osmocom
|
|
|
|
|
|
|
|
RUN git clone https://gerrit.osmocom.org/simtrace2
|