Skip to content

Commit

Permalink
Resolve server name changes lost in merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
kabicin committed May 31, 2023
1 parent e0cc09c commit 2204c3e
Show file tree
Hide file tree
Showing 7 changed files with 210 additions and 70 deletions.
40 changes: 30 additions & 10 deletions ga/22.0.0.12/kernel/Dockerfile.ubi.ibmjava8
Original file line number Diff line number Diff line change
Expand Up @@ -85,18 +85,9 @@ RUN mkdir /logs \
&& mkdir /etc/wlp \
&& mkdir -p /opt/ibm/wlp/usr/shared/resources/lib.index.cache \
&& mkdir -p /home/default \
&& mkdir /output \
&& chmod -t /output \
&& rm -rf /output \
&& ln -s $WLP_OUTPUT_DIR/defaultServer /output \
&& ln -s /opt/ibm/wlp/usr/servers/defaultServer /config \
&& ln -s /opt/ibm /liberty \
&& ln -s /opt/ibm/fixes /fixes \
&& ln -s /opt/ibm/wlp/usr/shared/resources/lib.index.cache /lib.index.cache \
&& mkdir -p /config/configDropins/defaults \
&& mkdir -p /config/configDropins/overrides \
&& chown -R 1001:0 /config \
&& chmod -R g+rw /config \
&& chown -R 1001:0 /opt/ibm/helpers \
&& chmod -R g+rwx /opt/ibm/helpers \
&& chown -R 1001:0 /opt/ibm/fixes \
Expand All @@ -110,7 +101,36 @@ RUN mkdir /logs \
&& chown -R 1001:0 /etc/wlp \
&& chmod -R g+rw /etc/wlp \
&& chown -R 1001:0 /home/default \
&& chmod -R g+rw /home/default
&& chmod -R g+rw /home/default \
&& mkdir -p /opt/ibm/links \
&& chown -R 1001:0 /opt/ibm/links \
&& chmod -R g+rw /opt/ibm/links

# Create second-level symlinks as non-root user
USER 1001

RUN mkdir -p $WLP_OUTPUT_DIR/defaultServer \
&& ln -s $WLP_OUTPUT_DIR/defaultServer /opt/ibm/links/output \
&& ln -s /opt/ibm/wlp/usr/servers/defaultServer /opt/ibm/links/config \
&& mkdir -p /opt/ibm/links/config/configDropins/defaults \
&& mkdir -p /opt/ibm/links/config/configDropins/overrides

# Create first-level symlinks as root user
USER 0

RUN mkdir /output \
&& chmod -t /output \
&& rm -rf /output \
&& ln -s /opt/ibm/links/output /output \
&& ln -s /opt/ibm/links/config /config \
&& chown -R 1001:0 /opt/ibm/links/output \
&& chmod -R g+rw /opt/ibm/links/output \
&& chown -R 1001:0 /opt/ibm/links/config \
&& chmod -R g+rw /opt/ibm/links/config \
&& chown -R 1001:0 /config \
&& chmod -R g+rw /config \
&& chown -R 1001:0 /output \
&& chmod -R g+rw /output

# Create a new SCC layer
RUN if [ "$OPENJ9_SCC" = "true" ]; then populate_scc.sh; fi \
Expand Down
40 changes: 30 additions & 10 deletions ga/22.0.0.12/kernel/Dockerfile.ubi.openjdk11
Original file line number Diff line number Diff line change
Expand Up @@ -86,18 +86,9 @@ RUN mkdir /logs \
&& mkdir /etc/wlp \
&& mkdir -p /opt/ibm/wlp/usr/shared/resources/lib.index.cache \
&& mkdir -p /home/default \
&& mkdir /output \
&& chmod -t /output \
&& rm -rf /output \
&& ln -s $WLP_OUTPUT_DIR/defaultServer /output \
&& ln -s /opt/ibm/wlp/usr/servers/defaultServer /config \
&& ln -s /opt/ibm /liberty \
&& ln -s /opt/ibm/fixes /fixes \
&& ln -s /opt/ibm/wlp/usr/shared/resources/lib.index.cache /lib.index.cache \
&& mkdir -p /config/configDropins/defaults \
&& mkdir -p /config/configDropins/overrides \
&& chown -R 1001:0 /config \
&& chmod -R g+rw /config \
&& chown -R 1001:0 /opt/ibm/helpers \
&& chmod -R g+rwx /opt/ibm/helpers \
&& chown -R 1001:0 /opt/ibm/fixes \
Expand All @@ -111,7 +102,36 @@ RUN mkdir /logs \
&& chown -R 1001:0 /etc/wlp \
&& chmod -R g+rw /etc/wlp \
&& chown -R 1001:0 /home/default \
&& chmod -R g+rw /home/default
&& chmod -R g+rw /home/default \
&& mkdir -p /opt/ibm/links \
&& chown -R 1001:0 /opt/ibm/links \
&& chmod -R g+rw /opt/ibm/links

# Create second-level symlinks as non-root user
USER 1001

RUN mkdir -p $WLP_OUTPUT_DIR/defaultServer \
&& ln -s $WLP_OUTPUT_DIR/defaultServer /opt/ibm/links/output \
&& ln -s /opt/ibm/wlp/usr/servers/defaultServer /opt/ibm/links/config \
&& mkdir -p /opt/ibm/links/config/configDropins/defaults \
&& mkdir -p /opt/ibm/links/config/configDropins/overrides

# Create first-level symlinks as root user
USER 0

RUN mkdir /output \
&& chmod -t /output \
&& rm -rf /output \
&& ln -s /opt/ibm/links/output /output \
&& ln -s /opt/ibm/links/config /config \
&& chown -R 1001:0 /opt/ibm/links/output \
&& chmod -R g+rw /opt/ibm/links/output \
&& chown -R 1001:0 /opt/ibm/links/config \
&& chmod -R g+rw /opt/ibm/links/config \
&& chown -R 1001:0 /config \
&& chmod -R g+rw /config \
&& chown -R 1001:0 /output \
&& chmod -R g+rw /output

# Create a new SCC layer
RUN if [ "$OPENJ9_SCC" = "true" ]; then populate_scc.sh; fi \
Expand Down
40 changes: 30 additions & 10 deletions ga/22.0.0.12/kernel/Dockerfile.ubi.openjdk17
Original file line number Diff line number Diff line change
Expand Up @@ -86,18 +86,9 @@ RUN mkdir /logs \
&& mkdir /etc/wlp \
&& mkdir -p /opt/ibm/wlp/usr/shared/resources/lib.index.cache \
&& mkdir -p /home/default \
&& mkdir /output \
&& chmod -t /output \
&& rm -rf /output \
&& ln -s $WLP_OUTPUT_DIR/defaultServer /output \
&& ln -s /opt/ibm/wlp/usr/servers/defaultServer /config \
&& ln -s /opt/ibm /liberty \
&& ln -s /opt/ibm/fixes /fixes \
&& ln -s /opt/ibm/wlp/usr/shared/resources/lib.index.cache /lib.index.cache \
&& mkdir -p /config/configDropins/defaults \
&& mkdir -p /config/configDropins/overrides \
&& chown -R 1001:0 /config \
&& chmod -R g+rw /config \
&& chown -R 1001:0 /opt/ibm/helpers \
&& chmod -R g+rwx /opt/ibm/helpers \
&& chown -R 1001:0 /opt/ibm/fixes \
Expand All @@ -111,7 +102,36 @@ RUN mkdir /logs \
&& chown -R 1001:0 /etc/wlp \
&& chmod -R g+rw /etc/wlp \
&& chown -R 1001:0 /home/default \
&& chmod -R g+rw /home/default
&& chmod -R g+rw /home/default \
&& mkdir -p /opt/ibm/links \
&& chown -R 1001:0 /opt/ibm/links \
&& chmod -R g+rw /opt/ibm/links

# Create second-level symlinks as non-root user
USER 1001

RUN mkdir -p $WLP_OUTPUT_DIR/defaultServer \
&& ln -s $WLP_OUTPUT_DIR/defaultServer /opt/ibm/links/output \
&& ln -s /opt/ibm/wlp/usr/servers/defaultServer /opt/ibm/links/config \
&& mkdir -p /opt/ibm/links/config/configDropins/defaults \
&& mkdir -p /opt/ibm/links/config/configDropins/overrides

# Create first-level symlinks as root user
USER 0

RUN mkdir /output \
&& chmod -t /output \
&& rm -rf /output \
&& ln -s /opt/ibm/links/output /output \
&& ln -s /opt/ibm/links/config /config \
&& chown -R 1001:0 /opt/ibm/links/output \
&& chmod -R g+rw /opt/ibm/links/output \
&& chown -R 1001:0 /opt/ibm/links/config \
&& chmod -R g+rw /opt/ibm/links/config \
&& chown -R 1001:0 /config \
&& chmod -R g+rw /config \
&& chown -R 1001:0 /output \
&& chmod -R g+rw /output

# Create a new SCC layer
RUN if [ "$OPENJ9_SCC" = "true" ]; then populate_scc.sh; fi \
Expand Down
40 changes: 30 additions & 10 deletions ga/22.0.0.12/kernel/Dockerfile.ubi.openjdk8
Original file line number Diff line number Diff line change
Expand Up @@ -86,18 +86,9 @@ RUN mkdir /logs \
&& mkdir /etc/wlp \
&& mkdir -p /opt/ibm/wlp/usr/shared/resources/lib.index.cache \
&& mkdir -p /home/default \
&& mkdir /output \
&& chmod -t /output \
&& rm -rf /output \
&& ln -s $WLP_OUTPUT_DIR/defaultServer /output \
&& ln -s /opt/ibm/wlp/usr/servers/defaultServer /config \
&& ln -s /opt/ibm /liberty \
&& ln -s /opt/ibm/fixes /fixes \
&& ln -s /opt/ibm/wlp/usr/shared/resources/lib.index.cache /lib.index.cache \
&& mkdir -p /config/configDropins/defaults \
&& mkdir -p /config/configDropins/overrides \
&& chown -R 1001:0 /config \
&& chmod -R g+rw /config \
&& chown -R 1001:0 /opt/ibm/helpers \
&& chmod -R g+rwx /opt/ibm/helpers \
&& chown -R 1001:0 /opt/ibm/fixes \
Expand All @@ -111,7 +102,36 @@ RUN mkdir /logs \
&& chown -R 1001:0 /etc/wlp \
&& chmod -R g+rw /etc/wlp \
&& chown -R 1001:0 /home/default \
&& chmod -R g+rw /home/default
&& chmod -R g+rw /home/default \
&& mkdir -p /opt/ibm/links \
&& chown -R 1001:0 /opt/ibm/links \
&& chmod -R g+rw /opt/ibm/links

# Create second-level symlinks as non-root user
USER 1001

RUN mkdir -p $WLP_OUTPUT_DIR/defaultServer \
&& ln -s $WLP_OUTPUT_DIR/defaultServer /opt/ibm/links/output \
&& ln -s /opt/ibm/wlp/usr/servers/defaultServer /opt/ibm/links/config \
&& mkdir -p /opt/ibm/links/config/configDropins/defaults \
&& mkdir -p /opt/ibm/links/config/configDropins/overrides

# Create first-level symlinks as root user
USER 0

RUN mkdir /output \
&& chmod -t /output \
&& rm -rf /output \
&& ln -s /opt/ibm/links/output /output \
&& ln -s /opt/ibm/links/config /config \
&& chown -R 1001:0 /opt/ibm/links/output \
&& chmod -R g+rw /opt/ibm/links/output \
&& chown -R 1001:0 /opt/ibm/links/config \
&& chmod -R g+rw /opt/ibm/links/config \
&& chown -R 1001:0 /config \
&& chmod -R g+rw /config \
&& chown -R 1001:0 /output \
&& chmod -R g+rw /output

# Create a new SCC layer
RUN if [ "$OPENJ9_SCC" = "true" ]; then populate_scc.sh; fi \
Expand Down
40 changes: 30 additions & 10 deletions ga/22.0.0.12/kernel/Dockerfile.ubuntu.ibmjava8
Original file line number Diff line number Diff line change
Expand Up @@ -84,18 +84,9 @@ RUN mkdir /logs \
&& mkdir /etc/wlp \
&& mkdir -p /opt/ibm/wlp/usr/shared/resources/lib.index.cache \
&& mkdir -p /home/default \
&& mkdir /output \
&& chmod -t /output \
&& rm -rf /output \
&& ln -s $WLP_OUTPUT_DIR/defaultServer /output \
&& ln -s /opt/ibm/wlp/usr/servers/defaultServer /config \
&& ln -s /opt/ibm /liberty \
&& ln -s /opt/ibm/fixes /fixes \
&& ln -s /opt/ibm/wlp/usr/shared/resources/lib.index.cache /lib.index.cache \
&& mkdir -p /config/configDropins/defaults \
&& mkdir -p /config/configDropins/overrides \
&& chown -R 1001:0 /config \
&& chmod -R g+rw /config \
&& chown -R 1001:0 /opt/ibm/helpers \
&& chmod -R g+rwx /opt/ibm/helpers \
&& chown -R 1001:0 /opt/ibm/fixes \
Expand All @@ -109,7 +100,36 @@ RUN mkdir /logs \
&& chown -R 1001:0 /etc/wlp \
&& chmod -R g+rw /etc/wlp \
&& chown -R 1001:0 /home/default \
&& chmod -R g+rw /home/default
&& chmod -R g+rw /home/default \
&& mkdir -p /opt/ibm/links \
&& chown -R 1001:0 /opt/ibm/links \
&& chmod -R g+rw /opt/ibm/links

# Create second-level symlinks as non-root user
USER 1001

RUN mkdir -p $WLP_OUTPUT_DIR/defaultServer \
&& ln -s $WLP_OUTPUT_DIR/defaultServer /opt/ibm/links/output \
&& ln -s /opt/ibm/wlp/usr/servers/defaultServer /opt/ibm/links/config \
&& mkdir -p /opt/ibm/links/config/configDropins/defaults \
&& mkdir -p /opt/ibm/links/config/configDropins/overrides

# Create first-level symlinks as root user
USER 0

RUN mkdir /output \
&& chmod -t /output \
&& rm -rf /output \
&& ln -s /opt/ibm/links/output /output \
&& ln -s /opt/ibm/links/config /config \
&& chown -R 1001:0 /opt/ibm/links/output \
&& chmod -R g+rw /opt/ibm/links/output \
&& chown -R 1001:0 /opt/ibm/links/config \
&& chmod -R g+rw /opt/ibm/links/config \
&& chown -R 1001:0 /config \
&& chmod -R g+rw /config \
&& chown -R 1001:0 /output \
&& chmod -R g+rw /output

# Create a new SCC layer
RUN if [ "$OPENJ9_SCC" = "true" ]; then populate_scc.sh; fi \
Expand Down
40 changes: 30 additions & 10 deletions ga/22.0.0.12/kernel/Dockerfile.ubuntu.openjdk11
Original file line number Diff line number Diff line change
Expand Up @@ -84,18 +84,9 @@ RUN mkdir /logs \
&& mkdir /etc/wlp \
&& mkdir -p /opt/ibm/wlp/usr/shared/resources/lib.index.cache \
&& mkdir -p /home/default \
&& mkdir /output \
&& chmod -t /output \
&& rm -rf /output \
&& ln -s $WLP_OUTPUT_DIR/defaultServer /output \
&& ln -s /opt/ibm/wlp/usr/servers/defaultServer /config \
&& ln -s /opt/ibm /liberty \
&& ln -s /opt/ibm/fixes /fixes \
&& ln -s /opt/ibm/wlp/usr/shared/resources/lib.index.cache /lib.index.cache \
&& mkdir -p /config/configDropins/defaults \
&& mkdir -p /config/configDropins/overrides \
&& chown -R 1001:0 /config \
&& chmod -R g+rw /config \
&& chown -R 1001:0 /opt/ibm/helpers \
&& chmod -R g+rwx /opt/ibm/helpers \
&& chown -R 1001:0 /opt/ibm/fixes \
Expand All @@ -109,7 +100,36 @@ RUN mkdir /logs \
&& chown -R 1001:0 /etc/wlp \
&& chmod -R g+rw /etc/wlp \
&& chown -R 1001:0 /home/default \
&& chmod -R g+rw /home/default
&& chmod -R g+rw /home/default \
&& mkdir -p /opt/ibm/links \
&& chown -R 1001:0 /opt/ibm/links \
&& chmod -R g+rw /opt/ibm/links

# Create second-level symlinks as non-root user
USER 1001

RUN mkdir -p $WLP_OUTPUT_DIR/defaultServer \
&& ln -s $WLP_OUTPUT_DIR/defaultServer /opt/ibm/links/output \
&& ln -s /opt/ibm/wlp/usr/servers/defaultServer /opt/ibm/links/config \
&& mkdir -p /opt/ibm/links/config/configDropins/defaults \
&& mkdir -p /opt/ibm/links/config/configDropins/overrides

# Create first-level symlinks as root user
USER 0

RUN mkdir /output \
&& chmod -t /output \
&& rm -rf /output \
&& ln -s /opt/ibm/links/output /output \
&& ln -s /opt/ibm/links/config /config \
&& chown -R 1001:0 /opt/ibm/links/output \
&& chmod -R g+rw /opt/ibm/links/output \
&& chown -R 1001:0 /opt/ibm/links/config \
&& chmod -R g+rw /opt/ibm/links/config \
&& chown -R 1001:0 /config \
&& chmod -R g+rw /config \
&& chown -R 1001:0 /output \
&& chmod -R g+rw /output

# Create a new SCC layer
RUN if [ "$OPENJ9_SCC" = "true" ]; then populate_scc.sh; fi \
Expand Down
40 changes: 30 additions & 10 deletions ga/22.0.0.12/kernel/Dockerfile.ubuntu.openjdk17
Original file line number Diff line number Diff line change
Expand Up @@ -84,18 +84,9 @@ RUN mkdir /logs \
&& mkdir /etc/wlp \
&& mkdir -p /opt/ibm/wlp/usr/shared/resources/lib.index.cache \
&& mkdir -p /home/default \
&& mkdir /output \
&& chmod -t /output \
&& rm -rf /output \
&& ln -s $WLP_OUTPUT_DIR/defaultServer /output \
&& ln -s /opt/ibm/wlp/usr/servers/defaultServer /config \
&& ln -s /opt/ibm /liberty \
&& ln -s /opt/ibm/fixes /fixes \
&& ln -s /opt/ibm/wlp/usr/shared/resources/lib.index.cache /lib.index.cache \
&& mkdir -p /config/configDropins/defaults \
&& mkdir -p /config/configDropins/overrides \
&& chown -R 1001:0 /config \
&& chmod -R g+rw /config \
&& chown -R 1001:0 /opt/ibm/helpers \
&& chmod -R g+rwx /opt/ibm/helpers \
&& chown -R 1001:0 /opt/ibm/fixes \
Expand All @@ -109,7 +100,36 @@ RUN mkdir /logs \
&& chown -R 1001:0 /etc/wlp \
&& chmod -R g+rw /etc/wlp \
&& chown -R 1001:0 /home/default \
&& chmod -R g+rw /home/default
&& chmod -R g+rw /home/default \
&& mkdir -p /opt/ibm/links \
&& chown -R 1001:0 /opt/ibm/links \
&& chmod -R g+rw /opt/ibm/links

# Create second-level symlinks as non-root user
USER 1001

RUN mkdir -p $WLP_OUTPUT_DIR/defaultServer \
&& ln -s $WLP_OUTPUT_DIR/defaultServer /opt/ibm/links/output \
&& ln -s /opt/ibm/wlp/usr/servers/defaultServer /opt/ibm/links/config \
&& mkdir -p /opt/ibm/links/config/configDropins/defaults \
&& mkdir -p /opt/ibm/links/config/configDropins/overrides

# Create first-level symlinks as root user
USER 0

RUN mkdir /output \
&& chmod -t /output \
&& rm -rf /output \
&& ln -s /opt/ibm/links/output /output \
&& ln -s /opt/ibm/links/config /config \
&& chown -R 1001:0 /opt/ibm/links/output \
&& chmod -R g+rw /opt/ibm/links/output \
&& chown -R 1001:0 /opt/ibm/links/config \
&& chmod -R g+rw /opt/ibm/links/config \
&& chown -R 1001:0 /config \
&& chmod -R g+rw /config \
&& chown -R 1001:0 /output \
&& chmod -R g+rw /output

# Create a new SCC layer
RUN if [ "$OPENJ9_SCC" = "true" ]; then populate_scc.sh; fi \
Expand Down

0 comments on commit 2204c3e

Please sign in to comment.