-
Notifications
You must be signed in to change notification settings - Fork 167
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New Simplified ACE image - 12.0.4.0-r1
- Loading branch information
Showing
156 changed files
with
521 additions
and
22,346 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,53 @@ | ||
# Build and run: | ||
# | ||
# docker build -t ace:12.0.2.0 -f Dockerfile . | ||
# docker run -e LICENSE=accept -p 7600:7600 -p 7800:7800 --rm -ti ace:12.0.2.0 | ||
# | ||
# Can also mount a volume for the work directory: | ||
# | ||
# docker run -e LICENSE=accept -v /what/ever/dir:/home/aceuser/ace-server -p 7600:7600 -p 7800:7800 --rm -ti ace:12.0.2.0 | ||
# | ||
# This might require a local directory with the right permissions, or changing the userid further down . . . | ||
|
||
FROM registry.access.redhat.com/ubi8/ubi-minimal as builder | ||
|
||
RUN microdnf update && microdnf install util-linux curl tar | ||
|
||
ARG USERNAME | ||
ARG PASSWORD | ||
ARG DOWNLOAD_URL=http://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/integration/12.0.2.0-ACE-LINUX64-DEVELOPER.tar.gz | ||
|
||
RUN mkdir -p /opt/ibm/ace-12 \ | ||
&& if [ -z $USERNAME ]; then curl ${DOWNLOAD_URL}; else curl -u "${USERNAME}:${PASSWORD}" ${DOWNLOAD_URL}; fi | \ | ||
tar zx --absolute-names --exclude ace-12.\*/tools --exclude ace-12.\*/server/bin/TADataCollector.sh --exclude ace-12.\*/server/transformationAdvisor/ta-plugin-ace.jar --strip-components 1 --directory /opt/ibm/ace-12 | ||
|
||
FROM registry.access.redhat.com/ubi8/ubi-minimal | ||
|
||
RUN microdnf update && microdnf install findutils util-linux && microdnf clean all | ||
|
||
# Force reinstall tzdata package to get zoneinfo files | ||
RUN microdnf reinstall tzdata -y | ||
|
||
# Prevent errors about having no terminal when using apt-get | ||
ENV DEBIAN_FRONTEND noninteractive | ||
|
||
# Install ACE v12.0.2.0 and accept the license | ||
COPY --from=builder /opt/ibm/ace-12 /opt/ibm/ace-12 | ||
RUN /opt/ibm/ace-12/ace make registry global accept license deferred \ | ||
&& useradd --uid 1001 --create-home --home-dir /home/aceuser --shell /bin/bash -G mqbrkrs aceuser \ | ||
&& su - aceuser -c "export LICENSE=accept && . /opt/ibm/ace-12/server/bin/mqsiprofile && mqsicreateworkdir /home/aceuser/ace-server" \ | ||
&& echo ". /opt/ibm/ace-12/server/bin/mqsiprofile" >> /home/aceuser/.bashrc | ||
|
||
COPY git.commit* /home/aceuser/ | ||
|
||
# Add required license as text file in Liceses directory (GPL, MIT, APACHE, Partner End User Agreement, etc) | ||
COPY /licenses/ /licenses/ | ||
|
||
# aceuser | ||
USER 1001 | ||
|
||
# Expose ports. 7600, 7800, 7843 for ACE; | ||
EXPOSE 7600 7800 7843 | ||
|
||
# Set entrypoint to run the server | ||
ENTRYPOINT ["bash", "-c", ". /opt/ibm/ace-12/server/bin/mqsiprofile && IntegrationServer -w /home/aceuser/ace-server"] |
Oops, something went wrong.
812d6c4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will these tools(runaceserver, chkaceready...) still be maintained somewhere?
812d6c4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No - We are not looking to provide any updates for the old code. The tools included in the old images will be maintained and supported as part of the App Connect Operator offering.
The repo has been updated to provide a simplified offering which can be be properly supported.