Skip to content

Commit fbd4171

Browse files
committed
Issue #40 - remove examples (should be committed separately), fix readme, revert to ubuntu and alpine as distro targets to be more precise
Signed-off-by: Jon Bartels <[email protected]>
1 parent 5b51651 commit fbd4171

File tree

17 files changed

+48
-391
lines changed

17 files changed

+48
-391
lines changed

README.md

Lines changed: 29 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<a name="top"></a>
22
# Table of Contents
33

4+
* [Quick Reference](#quick-reference)
5+
* [Where to get help](#quick-reference)
46
* [Supported tags and respective Dockerfile links](#supported-tags)
57
* [Supported Architectures](#supported-architectures)
6-
* [Quick Reference](#quick-reference)
7-
* [What is Mirth Connect](#what-is-connect)
8+
* [What is Open Integration Engine](#what-is-oie)
89
* [How to use this image](#how-to-use)
910
* [Start a Connect instance](#start-connect)
1011
* [Using `docker stack deploy` or `docker-compose`](#using-docker-compose)
@@ -19,32 +20,6 @@
1920

2021
------------
2122

22-
<a name="supported-tags"></a>
23-
# Supported Images [](#top)
24-
25-
All Open Integration Engine releases are packaged into the four following images:
26-
27-
- `latest`, `latest-alpine`, `latest-alpine-jre`
28-
- `4.5.2-tp.1-alpine`, `4.5.2-tp.1-alpine-jre`
29-
- `latest-alpine-jdk`
30-
- `4.5.2-tp.1-alpine-jdk`
31-
- `latest-ubuntu`, `latest-ubuntu-jre`
32-
- `4.5.2-tp.1-ubuntu`, `4.5.2-tp.1-ubuntu-jre`
33-
- `latest-ubuntu-jdk`
34-
- `4.5.2-tp.1-ubuntu-jdk`
35-
36-
------------
37-
38-
<a name="supported-architectures"></a>
39-
# Supported Architectures [](#top)
40-
41-
Docker images for OIE 4.5.2 and later versions support both `linux/amd64` and `linux/arm64` architectures. As an example, to pull the latest `linux/arm64` image, use the command
42-
```
43-
docker pull --platform linux/arm64 openintegrationengine/engine:latest
44-
```
45-
46-
------------
47-
4823
<a name="quick-reference"></a>
4924
# Quick Reference [](#top)
5025

@@ -77,6 +52,32 @@ OpenIntegrationEngine is designed to be vendor-neutral, allowing healthcare orga
7752

7853
------------
7954

55+
<a name="supported-tags"></a>
56+
# Supported Images [](#top)
57+
58+
All Open Integration Engine releases are packaged into the four following images:
59+
60+
- `latest`, `latest-alpine`, `latest-alpine-jre`
61+
- `4.5.2-tp.1-alpine`, `4.5.2-tp.1-alpine-jre`
62+
- `latest-alpine-jdk`
63+
- `4.5.2-tp.1-alpine-jdk`
64+
- `latest-ubuntu`, `latest-ubuntu-jre`
65+
- `4.5.2-tp.1-ubuntu`, `4.5.2-tp.1-ubuntu-jre`
66+
- `latest-ubuntu-jdk`
67+
- `4.5.2-tp.1-ubuntu-jdk`
68+
69+
------------
70+
71+
<a name="supported-architectures"></a>
72+
# Supported Architectures [](#top)
73+
74+
Docker images for OIE 4.5.2 and later versions support both `linux/amd64` and `linux/arm64` architectures. As an example, to pull the latest `linux/arm64` image, use the command
75+
```
76+
docker pull --platform linux/arm64 openintegrationengine/engine:latest
77+
```
78+
79+
------------
80+
8081
<a name="how-to-use"></a>
8182
# How to use this image [](#top)
8283

deploy/Dockerfile

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,10 @@ RUN chown -R ${UID}:${GID} /opt/engine
3636

3737

3838
##########################################
39-
# Apk based Images
39+
# Alpine based Images
4040
##########################################
41-
FROM eclipse-temurin:$BASE_IMAGE_TAG AS apk
41+
FROM eclipse-temurin:$BASE_IMAGE_TAG AS alpine
42+
4243
ARG UID
4344
ARG GID
4445
ARG OIE_RELEASE_VERSION
@@ -57,19 +58,23 @@ LABEL "org.opencontainers.image.authors"="The Open Integration Engine Project an
5758

5859
COPY --from=downloader /opt/engine /opt/engine
5960
RUN apk add --no-cache bash \
60-
&& adduser -D -H -u $UID engine engine
61+
&& adduser -D -H -u $UID engine engine \
62+
6163
VOLUME /opt/engine/appdata
6264
VOLUME /opt/engine/custom-extensions
65+
6366
WORKDIR /opt/engine
6467
EXPOSE 8443
6568
USER engine
69+
6670
ENTRYPOINT ["./entrypoint.sh"]
6771
CMD ["./oieserver"]
6872

6973
##########################################
70-
# Apt based Images
74+
# Ubuntu based Images
7175
##########################################
72-
FROM eclipse-temurin:$BASE_IMAGE_TAG AS apt
76+
FROM eclipse-temurin:$BASE_IMAGE_TAG AS ubuntu
77+
7378
ARG UID
7479
ARG GID
7580
ARG OIE_RELEASE_VERSION
@@ -88,11 +93,15 @@ LABEL "org.opencontainers.image.authors"="The Open Integration Engine Project an
8893

8994
COPY --from=downloader /opt/engine /opt/engine
9095
RUN groupadd --gid ${GID} engine \
91-
&& useradd -u ${UID} -g ${GID} -M engine
96+
&& useradd --no-log-init -u ${UID} -g ${GID} -M engine \
97+
9298
VOLUME /opt/engine/appdata
9399
VOLUME /opt/engine/custom-extensions
100+
94101
WORKDIR /opt/engine
95102
EXPOSE 8443
96103
USER engine
104+
97105
ENTRYPOINT ["./entrypoint.sh"]
98106
CMD ["./oieserver"]
107+

deploy/compose.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services:
55
image: openintegrationengine/engine
66
build:
77
dockerfile: Dockerfile
8-
target: apt
8+
target: ubuntu
99
context: .
1010
args:
1111
BASE_IMAGE_TAG: ${UBUNTU_JDK_TAG:?}
@@ -22,7 +22,7 @@ services:
2222
image: openintegrationengine/engine
2323
build:
2424
dockerfile: Dockerfile
25-
target: apt
25+
target: ubuntu
2626
context: .
2727
args:
2828
BASE_IMAGE_TAG: ${UBUNTU_JRE_TAG:?}
@@ -39,7 +39,7 @@ services:
3939
image: openintegrationengine/engine
4040
build:
4141
dockerfile: Dockerfile
42-
target: apk
42+
target: alpine
4343
context: .
4444
args:
4545
BASE_IMAGE_TAG: ${ALPINE_JDK_TAG:?}
@@ -54,7 +54,7 @@ services:
5454
image: openintegrationengine/engine
5555
build:
5656
dockerfile: Dockerfile
57-
target: apk
57+
target: alpine
5858
context: .
5959
args:
6060
BASE_IMAGE_TAG: ${ALPINE_JRE_TAG:?}

examples/README.md

Lines changed: 0 additions & 134 deletions
This file was deleted.

examples/data/secret.properties

Lines changed: 0 additions & 2 deletions
This file was deleted.

examples/data/secret.vmoptions

Lines changed: 0 additions & 1 deletion
This file was deleted.

examples/data/volumes/appdata/.keep

Whitespace-only changes.

examples/data/volumes/appdata1/.keep

Whitespace-only changes.

examples/data/volumes/appdata2/.keep

Whitespace-only changes.

examples/data/volumes/custom-extensions/.keep

Whitespace-only changes.

0 commit comments

Comments
 (0)