Commit 871884ae authored by Kolbjørn Barmen's avatar Kolbjørn Barmen
Browse files

Snart rett :p

parent c82b1ef5
......@@ -3,8 +3,6 @@ WORKDIR /root/
COPY patches patches
COPY build.sh build.sh
RUN apt-get update && apt-get -y upgrade
RUN apt-get install -y --no-install-recommends \
curl debhelper dh-autoreconf dh-systemd \
autotools-dev libssl-dev nettle-dev docbook2x
RUN apt-get install -y curl debhelper dh-autoreconf dh-systemd autotools-dev libssl-dev nettle-dev docbook2x
RUN ./build.sh
CMD tar c *.deb
......@@ -22,7 +22,7 @@ EOF
apt-get update
curl --silent -o "${package}"_"${version}"~"${revision}".orig.tar.gz "https://software.nordu.net/${package}/${package}-${version}.tar.gz"
tar xzf "${package}"_"${version}".orig.tar.gz
tar xzf "${package}"_"${version}"~"${revision}".orig.tar.gz
apt-get source ${package}
tar xf "${package}"_*.debian.tar.xz -C "${package}"-"${version}/"
......
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