Skip to content

Commit

Permalink
Version bump 1.7.0.Final
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Maslov committed Dec 8, 2015
1 parent 0fa2173 commit 82c127a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM jboss/base-jdk:8

ENV KEYCLOAK_VERSION 1.6.1.Final
ENV KEYCLOAK_VERSION 1.7.0.Final


USER root
Expand All @@ -9,14 +9,14 @@ RUN mkdir /data && touch /data/keycloak.json && chown jboss:jboss /data/keycloak
USER jboss

# Download Keycloak and unzip
RUN cd /opt/jboss/ && curl http://central.maven.org/maven2/org/keycloak/keycloak-server-dist/$KEYCLOAK_VERSION/keycloak-server-dist-$KEYCLOAK_VERSION.tar.gz | tar zx && mv /opt/jboss//keycloak-$KEYCLOAK_VERSION /opt/jboss/keycloak
RUN cd /opt/jboss/ && curl http://downloads.jboss.org/keycloak/$KEYCLOAK_VERSION/keycloak-$KEYCLOAK_VERSION.tar.gz | tar zx && mv /opt/jboss/keycloak-$KEYCLOAK_VERSION /opt/jboss/keycloak

# switch to standalone-full
ADD setLogLevel.xsl /opt/jboss/keycloak/
RUN java -jar /usr/share/java/saxon.jar -s:/opt/jboss/keycloak/standalone/configuration/standalone.xml -xsl:/opt/jboss/keycloak/setLogLevel.xsl -o:/opt/jboss/keycloak/standalone/configuration/standalone.xml

# add admin user
RUN /opt/jboss/keycloak/bin/add-user.sh admin admin --silent
RUN /opt/jboss/keycloak/bin/add-user.sh -u admin -p admin
ENV JBOSS_HOME /opt/jboss/keycloak

# setup postgres database instead of h2
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash

docker build -t keycloak_image:1.6.1.Final .
docker build -t keycloak_image:1.7.0.Final .
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ db:
- POSTGRES_ROOT_PASSWORD=root_password

keycloak:
image: keycloak_image:1.6.1.Final
image: keycloak_image:1.7.0.Final
environment:
- KEYCLOAK_LOGLEVEL=DEBUG
links:
Expand Down

0 comments on commit 82c127a

Please sign in to comment.