This repository has been archived by the owner on Aug 2, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
sse
committed
Jan 21, 2021
1 parent
7d24953
commit 549a272
Showing
3 changed files
with
36 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters