Commit c82b1ef5 authored by Kolbjørn Barmen's avatar Kolbjørn Barmen

Flyttet ut "basis" fra buid.sh til Dockerfile

Fikset filnanvet etc som debhelper etc forventer å finne
parent a012a6fe
......@@ -2,5 +2,9 @@ FROM debian:jessie
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 ./build.sh
CMD tar c *.deb
......@@ -4,7 +4,7 @@ set -e
package="radsecproxy"
version="1.6.8"
revision="uninett-2"
revision="uninett2"
export TZ="Europe/Oslo"
now=$(date +"%a, %d %b %Y %T %z")
......@@ -20,10 +20,8 @@ deb-src http://security.debian.org jessie/updates main
EOF
apt-get update
apt-get -y upgrade
apt-get -y install curl debhelper dh-autoreconf dh-systemd autotools-dev libssl-dev nettle-dev docbook2x
curl --silent -o "${package}"_"${version}".orig.tar.gz "https://software.nordu.net/${package}/${package}-${version}.tar.gz"
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
apt-get source ${package}
......
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