Skip to content

Commit

Permalink
ROCKSOLID-4354 Remove Connect CLI from image to further optimize size.
Browse files Browse the repository at this point in the history
  • Loading branch information
Team Rocksolid committed Aug 28, 2019
1 parent 77a0fb6 commit 86aae94
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ RUN mkdir -p /opt/connect/appdata && chown -R mirth:mirth /opt/connect/appdata
VOLUME /opt/connect/appdata
VOLUME /opt/connect/custom-extensions
WORKDIR /opt/connect
RUN rm -rf cli-lib manager-lib \
&& rm mirth-cli-launcher.jar mirth-manager-launcher.jar mccommand mcmanager
RUN cat /opt/connect/docs/mcservice-java9+.vmoptions >> mcserver.vmoptions
EXPOSE 8443

Expand Down
2 changes: 2 additions & 0 deletions Dockerfile-adoptopenjdk-openj9-alpine
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ RUN mkdir -p /opt/connect/appdata && chown -R mirth:mirth /opt/connect/appdata
VOLUME /opt/connect/appdata
VOLUME /opt/connect/custom-extensions
WORKDIR /opt/connect
RUN rm -rf cli-lib manager-lib \
&& rm mirth-cli-launcher.jar mirth-manager-launcher.jar mccommand mcmanager
RUN cat /opt/connect/docs/mcservice-java9+.vmoptions >> mcserver.vmoptions
EXPOSE 8443

Expand Down
2 changes: 2 additions & 0 deletions Dockerfile-adoptopenjdk-openj9-alpine-jdk
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ RUN mkdir -p /opt/connect/appdata && chown -R mirth:mirth /opt/connect/appdata
VOLUME /opt/connect/appdata
VOLUME /opt/connect/custom-extensions
WORKDIR /opt/connect
RUN rm -rf cli-lib manager-lib \
&& rm mirth-cli-launcher.jar mirth-manager-launcher.jar mccommand mcmanager
RUN cat /opt/connect/docs/mcservice-java9+.vmoptions >> mcserver.vmoptions
EXPOSE 8443

Expand Down
2 changes: 2 additions & 0 deletions Dockerfile-jdk
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ RUN mkdir -p /opt/connect/appdata && chown -R mirth:mirth /opt/connect/appdata
VOLUME /opt/connect/appdata
VOLUME /opt/connect/custom-extensions
WORKDIR /opt/connect
RUN rm -rf cli-lib manager-lib \
&& rm mirth-cli-launcher.jar mirth-manager-launcher.jar mccommand mcmanager
RUN cat /opt/connect/docs/mcservice-java9+.vmoptions >> mcserver.vmoptions
EXPOSE 8443

Expand Down
2 changes: 2 additions & 0 deletions Dockerfile-zulu-alpine
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ RUN mkdir -p /opt/connect/appdata && chown -R mirth:mirth /opt/connect/appdata
VOLUME /opt/connect/appdata
VOLUME /opt/connect/custom-extensions
WORKDIR /opt/connect
RUN rm -rf cli-lib manager-lib \
&& rm mirth-cli-launcher.jar mirth-manager-launcher.jar mccommand mcmanager
RUN cat /opt/connect/docs/mcservice-java9+.vmoptions >> mcserver.vmoptions
EXPOSE 8443

Expand Down
2 changes: 2 additions & 0 deletions Dockerfile-zulu-alpine-jdk
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ RUN mkdir -p /opt/connect/appdata && chown -R mirth:mirth /opt/connect/appdata
VOLUME /opt/connect/appdata
VOLUME /opt/connect/custom-extensions
WORKDIR /opt/connect
RUN rm -rf cli-lib manager-lib \
&& rm mirth-cli-launcher.jar mirth-manager-launcher.jar mccommand mcmanager
RUN cat /opt/connect/docs/mcservice-java9+.vmoptions >> mcserver.vmoptions
EXPOSE 8443

Expand Down

0 comments on commit 86aae94

Please sign in to comment.