Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
eduroam
radsecproxy-uninett
Commits
c82b1ef5
Commit
c82b1ef5
authored
Sep 22, 2016
by
Kolbjørn Barmen
Browse files
Flyttet ut "basis" fra buid.sh til Dockerfile
Fikset filnanvet etc som debhelper etc forventer å finne
parent
a012a6fe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
c82b1ef5
...
...
@@ -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
build.sh
View file @
c82b1ef5
...
...
@@ -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
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment