Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Romain Ferrari
fiware
Commits
b951d7f7
Commit
b951d7f7
authored
Jan 26, 2017
by
Cyril Dangerville
Committed by
GitHub
Jan 26, 2017
Browse files
changes for new release 6.0.0
parent
5b370b6c
Changes
1
Hide whitespace changes
Inline
Side-by-side
docker/Dockerfile
View file @
b951d7f7
...
...
@@ -23,7 +23,7 @@
# The alternative is to use FROM ubuntu:* then install tomcat ubuntu package and use upstart/sysctl init script but this is not the way to go:
# https://github.com/docker/docker/issues/6800
FROM
tomcat:
7
-jre
7
FROM
tomcat:
8
-jre
8
MAINTAINER
Cyril Dangerville (Contact via http://catalogue.fiware.org/enablers/authorization-pdp-authzforce)
ENV
DEBIAN_FRONTEND noninteractive
...
...
@@ -37,9 +37,9 @@ ENV DEBIAN_FRONTEND noninteractive
#ENV HTTP_PROXY 'http://user:password@proxy-host:proxy-port'
#ENV HTTPS_PROXY 'http://user:password@proxy-host:proxy-port'
ENV
JAVA_OPTS="-Djava.security.egd=file:/dev/./urandom -Djava.awt.headless=true -Xms1024m -Xmx1024m -XX:+UseConcMarkSweepGC -server"
ENV
JAVA_OPTS="-Djava.security.egd=file:/dev/./urandom -Djava.awt.headless=true
-Djavax.xml.accessExternalSchema=http
-Xms1024m -Xmx1024m -XX:+UseConcMarkSweepGC -server"
ENV
AUTHZFORCE_SERVER_VERSION="
5.4.1
"
ENV
AUTHZFORCE_SERVER_VERSION="
6.0.0
"
ENV
AUTHZFORCE_SERVER_DOWNLOAD_URL="http://repo1.maven.org/maven2/org/ow2/authzforce/authzforce-ce-server-dist/$AUTHZFORCE_SERVER_VERSION/authzforce-ce-server-dist-$AUTHZFORCE_SERVER_VERSION.deb"
# Download and install Authzforce Server (service starts automatically)
...
...
@@ -63,7 +63,7 @@ ENV LC_ALL en_US.UTF-8
RUN
curl
--silent
--output
authzforce-ce-server.deb
--location
$AUTHZFORCE_SERVER_DOWNLOAD_URL
&&
\
dpkg --extract authzforce-ce-server.deb /root/authzforce/ && \
mv /root/authzforce/etc/tomcat
7
/Catalina /usr/local/tomcat/conf/ && \
mv /root/authzforce/etc/tomcat
8
/Catalina /usr/local/tomcat/conf/ && \
mv /root/authzforce/opt/* /opt/ && \
rm -rf /opt/authzforce-ce-server/data/domains/* && \
rm -rf /root/authzforce && \
...
...
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