-
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.
Merge pull request #5 from stefanpartheym/master
Update Mendelson AS2 server version to 1.1b59
- Loading branch information
Showing
4 changed files
with
29 additions
and
8 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 |
---|---|---|
@@ -1 +1,2 @@ | ||
MENDELSON_VERSION=1.1b63 | ||
JAVA_VERSION=11 |
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,14 +1,23 @@ | ||
include .env | ||
|
||
DOWNLOAD_BASE_URL=https://downloads.sourceforge.net/project/mec-as2 | ||
DOWNLOAD_FILE=install_mendelson_opensource_as2_$(MENDELSON_VERSION).zip | ||
DOWNLOAD_PARAMS=ts=$(shell date +%s) | ||
DOWNLOAD_URL=$(DOWNLOAD_BASE_URL)/$(DOWNLOAD_FILE)?$(DOWNLOAD_PARAMS) | ||
|
||
.PHONY : image start | ||
|
||
image : image/mendelson-$(MENDELSON_VERSION).zip | ||
docker build --build-arg MENDELSON_VERSION=$(MENDELSON_VERSION) -t saver/mendelson-as2:$(MENDELSON_VERSION) image | ||
docker build \ | ||
--build-arg MENDELSON_VERSION=$(MENDELSON_VERSION) \ | ||
--build-arg JAVA_VERSION=$(JAVA_VERSION) \ | ||
-t saver/mendelson-as2:$(MENDELSON_VERSION) \ | ||
image | ||
|
||
image/mendelson-$(MENDELSON_VERSION).zip : | ||
curl -L http://downloads.sourceforge.net/project/mec-as2/install_mendelson_opensource_as2_$(MENDELSON_VERSION).zip > $@ | ||
curl -L $(DOWNLOAD_URL) --output $@ | ||
|
||
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 | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,9 +4,14 @@ MAINTAINER Dmitry Myasnikov <[email protected]> | |
|
||
ENV MENDELSON_HOME /opt/mendelson/as2 | ||
ARG MENDELSON_VERSION=1.1b51 | ||
|
||
RUN yum install -y java-11-openjdk unzip tigervnc-server xorg-x11-server-Xvfb && \ | ||
yum clean all && mkdir -p $MENDELSON_HOME | ||
ARG JAVA_VERSION=1.8.0 | ||
|
||
RUN yum install -y \ | ||
java-${JAVA_VERSION}-openjdk \ | ||
unzip \ | ||
tigervnc-server \ | ||
xorg-x11-server-Xvfb | ||
RUN yum clean all && mkdir -p $MENDELSON_HOME | ||
|
||
COPY custom $MENDELSON_HOME/custom | ||
|
||
|
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