Pinning libosmocore version

This commit is contained in:
Ash Wilson 2016-02-21 09:35:13 -08:00
parent 0acdd758fc
commit ca8f035d08
2 changed files with 18 additions and 14 deletions

View File

@ -1,6 +1,7 @@
FROM ubuntu:14.10
ENV OSMOCORE_GIT=git://git.osmocom.org/libosmocore.git
ENV OSMOCORE_TAG=0.9.0
# Fix repos in docker image:
RUN sed -i "s/archive.ubuntu.com/old-releases.ubuntu.com/g" /etc/apt/sources.list
@ -38,13 +39,14 @@ RUN apt-get update && apt-get install -y \
libxi-dev
#RUN /usr/bin/git clone $OSMOCORE_GIT && \
# cd libosmocore && \
# autoreconf -i && \
# ./configure && \
# make && \
# make install && \
# ldconfig -i
RUN /usr/bin/git clone $OSMOCORE_GIT && \
cd libosmocore && \
git checkout tags/$OSMOCORE_TAG && \
autoreconf -i && \
./configure && \
make && \
make install && \
ldconfig -i
COPY ./ /src/

View File

@ -2,6 +2,7 @@ FROM ubuntu:15.04
MAINTAINER Ash Wilson
ENV OSMOSDR_GIT="git://git.osmocom.org/libosmocore.git"
ENV OSMOCORE_TAG=0.9.0
# We know it's going to foul up, so we run this install separately and then ...fix... dpkg status
RUN apt-get update && apt-get install -y uhd-host || \
@ -54,13 +55,14 @@ RUN apt-get update && apt-get install -y \
unzip
# Build libosmosdr
# RUN git clone $OSMOSDR_GIT && \
# cd libosmocore && \
# autoreconf -i && \
# ./configure && \
# make && \
# make install && \
# ldconfig -i
RUN git clone $OSMOSDR_GIT && \
cd libosmocore && \
git checkout tags/$OSMOCORE_TAG && \
autoreconf -i && \
./configure && \
make && \
make install && \
ldconfig -i
COPY ./ /src/