|
| 1 | +# syntax=docker/dockerfile:1 |
| 2 | + |
| 3 | +################################################################ |
| 4 | +# # |
| 5 | +# WARNING: THIS FILE IS AUTO-GENERATED. DO NOT EDIT MANUALLY # |
| 6 | +# # |
| 7 | +################################################################ |
| 8 | + |
| 9 | +ARG CREATED_AT |
| 10 | + |
| 11 | +FROM alpine:3.21.3 AS downloader |
| 12 | + |
| 13 | +WORKDIR /opt |
| 14 | + |
| 15 | +# Download Open Integration Engine release |
| 16 | +RUN apk add --no-cache curl \ |
| 17 | + && curl -L \ |
| 18 | + -o /opt/engine.tar.gz \ |
| 19 | + -H "Accept: application/vnd.github+json" \ |
| 20 | + -H "X-GitHub-Api-Version: 2022-11-28" \ |
| 21 | + https://github.com/OpenIntegrationEngine/engine/releases/download/v4.5.2-tp.1/oie_unix_4_5_2.tar.gz \ |
| 22 | + && tar xzf engine.tar.gz \ |
| 23 | + && mv /opt/oie /opt/engine \ |
| 24 | + && mkdir -p /opt/engine/appdata |
| 25 | + |
| 26 | +WORKDIR /opt/engine |
| 27 | +COPY --chmod=755 entrypoint.sh /opt/engine/entrypoint.sh |
| 28 | + |
| 29 | +RUN rm -rf cli-lib manager-lib \ |
| 30 | + && rm mirth-cli-launcher.jar oiecommand |
| 31 | + |
| 32 | +RUN chown -R 1000:1000 /opt/engine |
| 33 | +FROM eclipse-temurin:17.0.15_6-jre-noble AS ubuntu-jre |
| 34 | + |
| 35 | +ARG CREATED_AT |
| 36 | + |
| 37 | +LABEL \ |
| 38 | + "org.opencontainers.image.authors"="The Open Integration Engine Project and contributors" \ |
| 39 | + "org.opencontainers.image.created"="${CREATED_AT?:}" \ |
| 40 | + "org.opencontainers.image.description"="An open source fork of the now closed-source Mirth Connect" \ |
| 41 | + "org.opencontainers.image.licenses"="MPL-2.0" \ |
| 42 | + "org.opencontainers.image.source"="https://github.com/OpenIntegrationEngine/engine-docker" \ |
| 43 | + "org.opencontainers.image.title"="Open Integration Engine" \ |
| 44 | + "org.opencontainers.image.url"="https://github.com/OpenIntegrationEngine/engine" \ |
| 45 | + "org.opencontainers.image.vendor"="The Open Integration Engine Project" \ |
| 46 | + "org.opencontainers.image.version"="4.5.2-tp.1" |
| 47 | + |
| 48 | +COPY --from=downloader /opt/engine /opt/engine |
| 49 | + |
| 50 | +RUN apt-get update \ |
| 51 | + && apt-get install -y unzip \ |
| 52 | + && rm -rf /var/lib/apt/lists/* \ |
| 53 | + && groupmod --new-name engine ubuntu \ |
| 54 | + && usermod -l engine ubuntu \ |
| 55 | + && usermod -aG engine engine |
| 56 | + |
| 57 | +VOLUME /opt/engine/appdata |
| 58 | +VOLUME /opt/engine/custom-extensions |
| 59 | + |
| 60 | +WORKDIR /opt/engine |
| 61 | +EXPOSE 8443 |
| 62 | +USER engine |
| 63 | + |
| 64 | +ENTRYPOINT ["./entrypoint.sh"] |
| 65 | +CMD ["./oieserver"] |
| 66 | + |
| 67 | +FROM eclipse-temurin:17.0.15_6-jdk-noble AS ubuntu-jdk |
| 68 | + |
| 69 | +ARG CREATED_AT |
| 70 | + |
| 71 | +LABEL \ |
| 72 | + "org.opencontainers.image.authors"="The Open Integration Engine Project and contributors" \ |
| 73 | + "org.opencontainers.image.created"="${CREATED_AT?:}" \ |
| 74 | + "org.opencontainers.image.description"="An open source fork of the now closed-source Mirth Connect" \ |
| 75 | + "org.opencontainers.image.licenses"="MPL-2.0" \ |
| 76 | + "org.opencontainers.image.source"="https://github.com/OpenIntegrationEngine/engine-docker" \ |
| 77 | + "org.opencontainers.image.title"="Open Integration Engine" \ |
| 78 | + "org.opencontainers.image.url"="https://github.com/OpenIntegrationEngine/engine" \ |
| 79 | + "org.opencontainers.image.vendor"="The Open Integration Engine Project" \ |
| 80 | + "org.opencontainers.image.version"="4.5.2-tp.1" |
| 81 | + |
| 82 | +COPY --from=downloader /opt/engine /opt/engine |
| 83 | + |
| 84 | +RUN apt-get update \ |
| 85 | + && apt-get install -y unzip \ |
| 86 | + && rm -rf /var/lib/apt/lists/* \ |
| 87 | + && groupmod --new-name engine ubuntu \ |
| 88 | + && usermod -l engine ubuntu \ |
| 89 | + && usermod -aG engine engine |
| 90 | + |
| 91 | +VOLUME /opt/engine/appdata |
| 92 | +VOLUME /opt/engine/custom-extensions |
| 93 | + |
| 94 | +WORKDIR /opt/engine |
| 95 | +EXPOSE 8443 |
| 96 | +USER engine |
| 97 | + |
| 98 | +ENTRYPOINT ["./entrypoint.sh"] |
| 99 | +CMD ["./oieserver"] |
| 100 | + |
| 101 | +FROM eclipse-temurin:17.0.15_6-jre-alpine AS alpine-jre |
| 102 | + |
| 103 | +ARG CREATED_AT |
| 104 | + |
| 105 | +LABEL \ |
| 106 | + "org.opencontainers.image.authors"="The Open Integration Engine Project and contributors" \ |
| 107 | + "org.opencontainers.image.created"="${CREATED_AT?:}" \ |
| 108 | + "org.opencontainers.image.description"="An open source fork of the now closed-source Mirth Connect" \ |
| 109 | + "org.opencontainers.image.licenses"="MPL-2.0" \ |
| 110 | + "org.opencontainers.image.source"="https://github.com/OpenIntegrationEngine/engine-docker" \ |
| 111 | + "org.opencontainers.image.title"="Open Integration Engine" \ |
| 112 | + "org.opencontainers.image.url"="https://github.com/OpenIntegrationEngine/engine" \ |
| 113 | + "org.opencontainers.image.vendor"="The Open Integration Engine Project" \ |
| 114 | + "org.opencontainers.image.version"="4.5.2-tp.1" |
| 115 | + |
| 116 | +COPY --from=downloader /opt/engine /opt/engine |
| 117 | + |
| 118 | +RUN apk add --no-cache bash unzip \ |
| 119 | + && adduser -D -H -u 1000 engine engine |
| 120 | + |
| 121 | +VOLUME /opt/engine/appdata |
| 122 | +VOLUME /opt/engine/custom-extensions |
| 123 | + |
| 124 | +WORKDIR /opt/engine |
| 125 | +EXPOSE 8443 |
| 126 | +USER engine |
| 127 | + |
| 128 | +ENTRYPOINT ["./entrypoint.sh"] |
| 129 | +CMD ["./oieserver"] |
| 130 | + |
| 131 | +FROM eclipse-temurin:17.0.15_6-jdk-alpine AS alpine-jdk |
| 132 | + |
| 133 | +ARG CREATED_AT |
| 134 | + |
| 135 | +LABEL \ |
| 136 | + "org.opencontainers.image.authors"="The Open Integration Engine Project and contributors" \ |
| 137 | + "org.opencontainers.image.created"="${CREATED_AT?:}" \ |
| 138 | + "org.opencontainers.image.description"="An open source fork of the now closed-source Mirth Connect" \ |
| 139 | + "org.opencontainers.image.licenses"="MPL-2.0" \ |
| 140 | + "org.opencontainers.image.source"="https://github.com/OpenIntegrationEngine/engine-docker" \ |
| 141 | + "org.opencontainers.image.title"="Open Integration Engine" \ |
| 142 | + "org.opencontainers.image.url"="https://github.com/OpenIntegrationEngine/engine" \ |
| 143 | + "org.opencontainers.image.vendor"="The Open Integration Engine Project" \ |
| 144 | + "org.opencontainers.image.version"="4.5.2-tp.1" |
| 145 | + |
| 146 | +COPY --from=downloader /opt/engine /opt/engine |
| 147 | + |
| 148 | +RUN apk add --no-cache bash unzip \ |
| 149 | + && adduser -D -H -u 1000 engine engine |
| 150 | + |
| 151 | +VOLUME /opt/engine/appdata |
| 152 | +VOLUME /opt/engine/custom-extensions |
| 153 | + |
| 154 | +WORKDIR /opt/engine |
| 155 | +EXPOSE 8443 |
| 156 | +USER engine |
| 157 | + |
| 158 | +ENTRYPOINT ["./entrypoint.sh"] |
| 159 | +CMD ["./oieserver"] |
0 commit comments