-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Moved version to environment file; * Added the option to start container with make; * README update.
- Loading branch information
Showing
5 changed files
with
19 additions
and
9 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 @@ | ||
MENDELSON_VERSION=1.1b53 |
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 |
---|---|---|
@@ -1,9 +1,14 @@ | ||
MENDELSON_AS2_VERSION = 1.1b51 | ||
include .env | ||
|
||
.PHONY : image | ||
.PHONY : image start | ||
|
||
image : image/mendelson-$(MENDELSON_AS2_VERSION).zip | ||
docker build image -t saver/mendelson-as2:$(MENDELSON_AS2_VERSION) | ||
image : image/mendelson-$(MENDELSON_VERSION).zip | ||
docker build --build-arg MENDELSON_VERSION=$(MENDELSON_VERSION) -t saver/mendelson-as2:$(MENDELSON_VERSION) image | ||
|
||
image/mendelson-$(MENDELSON_AS2_VERSION).zip : | ||
curl -L http://downloads.sourceforge.net/project/mec-as2/install_mendelson_opensource_as2_$(MENDELSON_AS2_VERSION).zip > $@ | ||
image/mendelson-$(MENDELSON_VERSION).zip : | ||
curl -L http://downloads.sourceforge.net/project/mec-as2/install_mendelson_opensource_as2_$(MENDELSON_VERSION).zip > $@ | ||
|
||
start : | ||
docker-compose up -d | ||
HTTP_PORT=$$(docker-compose port as2 8080 | cut -d: -f2);\ | ||
echo Use http://localhost:$${HTTP_PORT} to connect to your Mendelson AS2 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ FROM centos:7.3.1611 | |
MAINTAINER Dmitry Myasnikov <[email protected]> | ||
|
||
ENV MENDELSON_HOME /opt/mendelson/as2 | ||
ENV MENDELSON_VERSION 1.1b51 | ||
ARG MENDELSON_VERSION=1.1b51 | ||
|
||
RUN yum install -y java-1.8.0-openjdk unzip tigervnc-server xorg-x11-server-Xvfb && \ | ||
yum clean all && mkdir -p $MENDELSON_HOME | ||
|