Verified Commit 766a9e65 authored by Tomas Krizek's avatar Tomas Krizek Committed by Vladimír Čunát

ci/turris: add Docker container for Turris builds

parent 1aabd4a9
......@@ -19,3 +19,17 @@ $ docker push$K
$ docker build -t fedora
$ docker push
* turris
$ docker build -t turris
$ docker push
Alternatively, provide `SDK_REPO` build arg (dir name from )
$ docker build --build-arg SDK_REPO=omnia-nightly -t turris
$ docker push
FROM debian:stable
MAINTAINER Knot Resolver <>
ARG SDK_NAME=OpenWrt-SDK*x86_64
RUN echo "deb stretch-backports main" >> /etc/apt/sources.list
RUN apt-get update -qq
RUN apt-get -t stretch-backports install -y git
RUN apt-get install -y -qqq git-core build-essential libssl-dev libncurses5-dev \
unzip gawk zlib1g-dev git subversion mercurial ccache libtinfo-dev libncurses5 \
libncurses5-dev wget
RUN wget --quiet "$SDK_REPO/" -r -nd -np --accept="$SDK_NAME.tar.bz2" && \
tar xjf $SDK_NAME.tar.bz2 && \
rm $SDK_NAME.tar.bz2 && \
mv $SDK_NAME turris
CMD ["/bin/bash"]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment