Skip to content

Commit

Permalink
Merge pull request #146 from zowe/user/markackert/v2-container-build
Browse files Browse the repository at this point in the history
Update v2 containers build
  • Loading branch information
DivergentEuropeans authored Sep 3, 2024
2 parents b331b8c + 3d89e02 commit 877b9ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ jobs:
cpu-arch: amd64

- uses: zowe-actions/shared-actions/docker-build-local@main
with:
build-arg-list: ZOWE_BASE_IMAGE=latest-ubuntu
timeout-minutes: 5


Expand All @@ -65,8 +63,6 @@ jobs:
cpu-arch: amd64

- uses: zowe-actions/shared-actions/docker-build-local@main
with:
build-arg-list: ZOWE_BASE_IMAGE=latest-ubi
timeout-minutes: 5

build-ubuntu-s390x:
Expand Down Expand Up @@ -95,7 +91,6 @@ jobs:
zlinux-ssh-user: ${{ secrets.ZLINUX_SSH_USER }}
zlinux-ssh-key: ${{ secrets.ZLINUX_SSH_KEY }}
zlinux-ssh-passphrase: ${{ secrets.ZLINUX_SSH_PASSPHRASE }}
build-arg-list: ZOWE_BASE_IMAGE=latest-ubuntu
timeout-minutes: 10


Expand Down Expand Up @@ -125,7 +120,6 @@ jobs:
zlinux-ssh-user: ${{ secrets.ZLINUX_SSH_USER }}
zlinux-ssh-key: ${{ secrets.ZLINUX_SSH_KEY }}
zlinux-ssh-passphrase: ${{ secrets.ZLINUX_SSH_PASSPHRASE }}
build-arg-list: ZOWE_BASE_IMAGE=latest-ubi
timeout-minutes: 10


Expand Down
8 changes: 4 additions & 4 deletions container/Dockerfile.zlux
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# #
#########################################################################################
# base image tag
ARG ZOWE_BASE_IMAGE=latest-ubuntu
ARG ZOWE_BASE_IMAGE=2-ubuntu

FROM zowe-docker-release.jfrog.io/ompzowe/base-node:${ZOWE_BASE_IMAGE} AS builder

Expand Down Expand Up @@ -52,12 +52,12 @@ USER zowe
RUN if [ ! -d ${ZWED_INSTALL_DIR}/share/zlux-app-server ]; then cd ${ZWED_INSTALL_DIR}/share && tar -xf zlux-core.tar; fi

RUN cd ${ZWED_INSTALL_DIR}/share/zlux-app-server/bin && \
chmod +x *.sh && \
./install-container.sh
chmod +x *.sh && \
./install-container.sh

# remove default explorer-ip plugin json
RUN if [ -f ${ZWED_INSTALL_DIR}/share/zlux-app-server/defaults/plugins/org.zowe.explorer-ip.json ]; \
then rm ${ZWED_INSTALL_DIR}/share/zlux-app-server/defaults/plugins/org.zowe.explorer-ip.json; fi
then rm ${ZWED_INSTALL_DIR}/share/zlux-app-server/defaults/plugins/org.zowe.explorer-ip.json; fi

WORKDIR ${ZWED_INSTALL_DIR}/bin
CMD ["./start-container.sh"]

0 comments on commit 877b9ef

Please sign in to comment.