Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Commit

Permalink
Fixed the missing library
Browse files Browse the repository at this point in the history
  • Loading branch information
sse committed Jan 21, 2021
1 parent 7d24953 commit 549a272
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 2 deletions.
26 changes: 26 additions & 0 deletions Dev.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
ARG TAG=latest

FROM jboss/keycloak:${TAG}

ENV MAILCHIMP_API_KEY someApiKey
ENV MAILCHIMP_API_KEY someApiKey

ENV MAILCHIMP_PLUGIN_VERSION 1.0.2

LABEL maintainer="Stephane, Segning Lambou <[email protected]>"

RUN mkdir $JBOSS_HOME/providers

COPY target/keycloak-mailchimp-${MAILCHIMP_PLUGIN_VERSION}.jar $JBOSS_HOME/providers/keycloak-mailchimp-${MAILCHIMP_PLUGIN_VERSION}.jar
COPY target/keycloak-mailchimp-${MAILCHIMP_PLUGIN_VERSION}-jar-with-dependencies.jar $JBOSS_HOME/providers/keycloak-mailchimp-${MAILCHIMP_PLUGIN_VERSION}-jar-with-dependencies.jar

COPY ./startup.sh /opt/jboss/startup-scripts/mailchimp-startup.sh

USER 0

RUN chmod +x /opt/jboss/startup-scripts/mailchimp-startup.sh

USER jboss

# Clean the fact that an embeded server did started
RUN rm -rf $JBOSS_HOME/standalone/configuration/standalone_xml_history/
4 changes: 3 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ version: "3.8"
services:

keycloak:
build: .
build:
context: .
dockerfile: Dev.Dockerfile
ports:
- 8080:8080
environment:
Expand Down
8 changes: 7 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.bayamsell.keycloak</groupId>
<artifactId>keycloak-mailchimp</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>

<properties>
<java.version>11</java.version>
Expand Down Expand Up @@ -51,6 +51,12 @@
<artifactId>bananaj</artifactId>
<version>0.6.3</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
<scope>runtime</scope>
</dependency>

<dependency>
<groupId>junit</groupId>
Expand Down

0 comments on commit 549a272

Please sign in to comment.