Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-132

Local build of CRW server container image failed

XMLWordPrintable

      There is Dockerfile in the root of CRW repo, and README.adoc file which explains how to build CRW server container image locally:

      ### How to Build Container Image (Locally)
      
      Run the following command in the root of a repository:
      
      ```
      docker build -t ${REGISTRY}/${REPO} .
      ```
      

      But, actually, after this commit appeared in repo the local build of container image has started failing:

      with 'FROM redhat-openjdk-18/openjdk18-openshift:1.5-14.1539812388'
      [ndp@localhost codeready-workspaces]$ docker build --force-rm -t codeready/codeready-workspaces:latest .
      Sending build context to Docker daemon  1.339GB
      Step 1/10 : FROM redhat-openjdk-18/openjdk18-openshift:1.5-14.1539812388
      pull access denied for redhat-openjdk-18/openjdk18-openshift, repository does not exist or may require 'docker login'
      
      with 'FROM registry.access.redhat.com/redhat-openjdk-18/openjdk18-openshift:1.5-14'
      [ndp@localhost codeready-workspaces]$ docker build --force-rm -t codeready/codeready-workspaces:latest .
      Sending build context to Docker daemon  1.339GB
      Step 1/10 : FROM registry.access.redhat.com/redhat-openjdk-18/openjdk18-openshift:1.5-14
       ---> f2c6f489873d
      Step 2/10 : ENV SUMMARY="Red Hat CodeReady Workspaces container that provides the Red Hat CodeReady Workspaces (Eclipse Che Server)"     DESCRIPTION="Red Hat CodeReady Workspaces container that provides the Red Hat CodeReady Workspaces (Eclipse Che Server)"     PRODNAME="codeready-workspaces"     COMPNAME="server-container"
       ---> Running in 9fed91a36f1b
      Removing intermediate container 9fed91a36f1b
       ---> 5fd9908dcd5c
      Step 3/10 : LABEL summary="$SUMMARY"       description="$DESCRIPTION"       io.k8s.description="$DESCRIPTION"       io.k8s.display-name="Red Hat CodeReady Workspaces for OpenShift - Che Server"       io.openshift.tags="$PRODNAME,$COMPNAME"       com.redhat.component="$PRODNAME-$COMPNAME"       name="$PRODNAME/$COMPNAME"       version="1.0"       license="EPLv2"       maintainer="Nick Boldt <nboldt@redhat.com>"       io.openshift.expose-services=""       usage=""
       ---> Running in 231e8b0e8ba5
      Removing intermediate container 231e8b0e8ba5
       ---> e8c6007c8f9f
      Step 4/10 : USER root
       ---> Running in 826ae5ae0ff5
      Removing intermediate container 826ae5ae0ff5
       ---> 5e4c488230a2
      Step 5/10 : COPY entrypoint.sh /entrypoint.sh
       ---> d7e426399d7d
      Step 6/10 : RUN mkdir -p /home/jboss/codeready
       ---> Running in a1a43e19ffaa
      Removing intermediate container a1a43e19ffaa
       ---> 73d0f5c2eb6a
      Step 7/10 : COPY codeready-workspaces-assembly-main.tar.gz /tmp/codeready-workspaces-assembly-main.tar.gz
      COPY failed: stat /var/lib/docker/tmp/docker-builder054171040/codeready-workspaces-assembly-main.tar.gz: no such file or directory
      

              nickboldt Nick Boldt
              dnochevn Dmytro Nochevnov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: