-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Enable a docker plugin for build time image creation (#27) * Changing the automation to use public bintray registry. Adding information to README. * Updating compose example to point to private registry.
- Loading branch information
Showing
5 changed files
with
60 additions
and
7 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,29 @@ | ||
FROM openjdk:8u92-alpine | ||
|
||
ARG JAR_FILE | ||
ARG CONF_FILE | ||
ARG PROP_FILE | ||
ARG MYSQL_CONNECTOR_VERSION=5.0.8 | ||
|
||
RUN apk add --update bash curl unzip && \ | ||
rm -rf /var/cache/apk/* | ||
|
||
# Install MySQL Connector | ||
WORKDIR /opt/holdmail/lib | ||
RUN curl -sLO https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-${MYSQL_CONNECTOR_VERSION}.zip && \ | ||
unzip mysql-connector-java-${MYSQL_CONNECTOR_VERSION}.zip | ||
|
||
# Install Holdmail | ||
|
||
RUN mkdir -p /var/log/holdmail | ||
|
||
WORKDIR /etc | ||
ADD ${PROP_FILE} holdmail.properties | ||
|
||
WORKDIR /opt/holdmail/bin/ | ||
ADD ${JAR_FILE} holdmail.jar | ||
ADD ${CONF_FILE} holdmail.conf | ||
|
||
EXPOSE 8080 25000 | ||
|
||
ENTRYPOINT ["./holdmail.jar"] |
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
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