Pinning libosmocore version
This commit is contained in:
parent
0acdd758fc
commit
ca8f035d08
|
@ -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/
|
||||
|
|
|
@ -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/
|
||||
|
||||
|
|
Loading…
Reference in New Issue